Package com.saasovation.collaboration.domain.model.forum

Examples of com.saasovation.collaboration.domain.model.forum.Post.tenant()


        Post post = this.postAggregate(discussion);
        DomainRegistry.postRepository().save(post);

        PostData postData =
                postQueryService.postDataOfId(
                        post.tenant().id(), post.postId().id());

        assertNotNull(postData);
        assertEquals(post.postId().id(), postData.getPostId());
        assertEquals(post.discussionId().id(), postData.getDiscussionId());
        assertEquals(post.forumId().id(), postData.getForumId());
View Full Code Here


        assertNotNull(postData);
        assertEquals(post.postId().id(), postData.getPostId());
        assertEquals(post.discussionId().id(), postData.getDiscussionId());
        assertEquals(post.forumId().id(), postData.getForumId());
        assertEquals(post.tenant().id(), postData.getTenantId());
        assertEquals(post.author().emailAddress(), postData.getAuthorEmailAddress());
        assertEquals(post.author().identity(), postData.getAuthorIdentity());
        assertEquals(post.author().name(), postData.getAuthorName());
        // assertEquals(post.changedOn(), postData.getChangedOn());
        // assertEquals(post.createdOn(), postData.getCreatedOn());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.