discussionQueryService.discussionPostsDataOfId(
discussion.tenant().id(), discussion.discussionId().id());
assertNotNull(discussionPostsData);
assertEquals(discussion.discussionId().id(), discussionPostsData.getDiscussionId());
assertEquals(discussion.forumId().id(), discussionPostsData.getForumId());
assertEquals(discussion.tenant().id(), discussionPostsData.getTenantId());
assertEquals(discussion.author().emailAddress(), discussionPostsData.getAuthorEmailAddress());
assertEquals(discussion.author().identity(), discussionPostsData.getAuthorIdentity());
assertEquals(discussion.author().name(), discussionPostsData.getAuthorName());
assertEquals(discussion.subject(), discussionPostsData.getSubject());