4445464748495051525354
} Collection<PostData> postsData = postQueryService.allPostsDataOfDiscussion( forum.tenant().id(), discussion.discussionId().id()); assertNotNull(postsData); assertFalse(postsData.isEmpty()); assertEquals(posts.length, postsData.size()); }
6869707172737475767778
}; discussionApplicationService .postToDiscussion( discussion.tenant().id(), discussion.discussionId().id(), "authorId1", "Post Test", "Post test text...", result);
277278279280281282283284285286287
this.discussionRepository().save(discussion); } if (aResult != null) { aResult.resultingForumId(forum.forumId().id()); aResult.resultingDiscussionId(discussion.discussionId().id()); } } private CollaboratorService collaboratorService() { return this.collaboratorService;