.put("IncludeReplies", "true")
.get();
Response response = getPostCommand.execute(getPostFieldSet, null, DIRECT);
.put("IncludeReplies", "true")
.get();
Response response = getPostCommand.execute(getPostFieldSet, null, DIRECT);
verifyPost(post, response);
assertThat(response.getReplyParameters().getInt("Post.Replies.Count"), is(post.getReplies().size()));
verifyReply(response.getReplyParameters(), "Post.Replies.0.", postReply1);
verifyPost(post, response);
assertThat(response.getReplyParameters().getInt("Post.Replies.Count"), is(post.getReplies().size()));
verifyReply(response.getReplyParameters(), "Post.Replies.0.", postReply1);
assertThat(response, notNullValue());
assertThat(response.getReplyParameters(), notNullValue());
assertThat(response, notNullValue());
assertThat(response.getReplyParameters(), notNullValue());
}
private void verifyReply(SimpleFieldSet replyParameters, String prefix, PostReply postReply) throws FSParseException {
}
private void verifyReply(SimpleFieldSet replyParameters, String prefix, PostReply postReply) throws FSParseException {