Package com.saasovation.collaboration.application.forum.data

Examples of com.saasovation.collaboration.application.forum.data.ForumData


        Forum forum = this.forumAggregate();

        DomainRegistry.forumRepository().save(forum);

        ForumData forumData =
                forumQueryService.forumDataOfId(
                        forum.tenant().id(), forum.forumId().id());

        assertNotNull(forumData);
        assertEquals(forum.forumId().id(), forumData.getForumId());
        assertEquals(forum.tenant().id(), forumData.getTenantId());
        assertEquals(forum.creator().emailAddress(), forumData.getCreatorEmailAddress());
        assertEquals(forum.creator().identity(), forumData.getCreatorIdentity());
        assertEquals(forum.creator().name(), forumData.getCreatorName());
        assertEquals(forum.description(), forumData.getDescription());
        assertEquals(forum.exclusiveOwner(), forumData.getExclusiveOwner());
        assertEquals(forum.isClosed(), forumData.isClosed());
        assertEquals(forum.subject(), forumData.getSubject());
        assertEquals(forum.moderator().emailAddress(), forumData.getModeratorEmailAddress());
        assertEquals(forum.moderator().identity(), forumData.getModeratorIdentity());
        assertEquals(forum.moderator().name(), forumData.getModeratorName());
    }
View Full Code Here

TOP

Related Classes of com.saasovation.collaboration.application.forum.data.ForumData

Copyright © 2018 www.massapicom. 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.