    @Test
    public void newPost() throws Exception {


        Object[] pramas = {"1", configInfo.getUserName(), configInfo.getPassword(), ReflectUtil.toXMLRPCParams(post), true};
        String postId = "2";
        when(xmlRpcClient.execute(anyString(), any(Object[].class))).thenReturn(postId);
        assertThat(metaWeblog.newPost("1", post, true)).isEqualTo(postId);
    }