Examples of moderator()


Examples of com.saasovation.collaboration.domain.model.forum.Forum.moderator()

                    .forumOfId(
                            forum.tenant(),
                            forum.forumId());

        assertNotNull(forum);
        assertEquals("newModerator", forum.moderator().identity());
    }

    public void testChangeForumDescription() throws Exception {

        Forum forum = this.forumAggregate();
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.moderator()

        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());
    }

    public void testForumDiscussionsDataOfId() throws Exception {
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.moderator()

        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());
    }

    public void testForumDiscussionsDataOfId() throws Exception {
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.moderator()

        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());
    }

    public void testForumDiscussionsDataOfId() throws Exception {

        Forum forum = this.forumAggregate();
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.moderator()

        assertEquals(forum.creator().name(), forumDiscussionsData.getCreatorName());
        assertEquals(forum.description(), forumDiscussionsData.getDescription());
        assertEquals(forum.exclusiveOwner(), forumDiscussionsData.getExclusiveOwner());
        assertEquals(forum.isClosed(), forumDiscussionsData.isClosed());
        assertEquals(forum.subject(), forumDiscussionsData.getSubject());
        assertEquals(forum.moderator().emailAddress(), forumDiscussionsData.getModeratorEmailAddress());
        assertEquals(forum.moderator().identity(), forumDiscussionsData.getModeratorIdentity());
        assertEquals(forum.moderator().name(), forumDiscussionsData.getModeratorName());

        assertNotNull(forumDiscussionsData.getDiscussions());
        assertFalse(forumDiscussionsData.getDiscussions().isEmpty());
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.moderator()

        assertEquals(forum.description(), forumDiscussionsData.getDescription());
        assertEquals(forum.exclusiveOwner(), forumDiscussionsData.getExclusiveOwner());
        assertEquals(forum.isClosed(), forumDiscussionsData.isClosed());
        assertEquals(forum.subject(), forumDiscussionsData.getSubject());
        assertEquals(forum.moderator().emailAddress(), forumDiscussionsData.getModeratorEmailAddress());
        assertEquals(forum.moderator().identity(), forumDiscussionsData.getModeratorIdentity());
        assertEquals(forum.moderator().name(), forumDiscussionsData.getModeratorName());

        assertNotNull(forumDiscussionsData.getDiscussions());
        assertFalse(forumDiscussionsData.getDiscussions().isEmpty());
        assertEquals(3, forumDiscussionsData.getDiscussions().size());
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.moderator()

        assertEquals(forum.exclusiveOwner(), forumDiscussionsData.getExclusiveOwner());
        assertEquals(forum.isClosed(), forumDiscussionsData.isClosed());
        assertEquals(forum.subject(), forumDiscussionsData.getSubject());
        assertEquals(forum.moderator().emailAddress(), forumDiscussionsData.getModeratorEmailAddress());
        assertEquals(forum.moderator().identity(), forumDiscussionsData.getModeratorIdentity());
        assertEquals(forum.moderator().name(), forumDiscussionsData.getModeratorName());

        assertNotNull(forumDiscussionsData.getDiscussions());
        assertFalse(forumDiscussionsData.getDiscussions().isEmpty());
        assertEquals(3, forumDiscussionsData.getDiscussions().size());
    }
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.moderator()

        };

        forumApplicationService.startForum(
                forum.tenant().id(),
                forum.creator().identity(),
                forum.moderator().identity(),
                forum.subject(),
                forum.description(),
                result);

        assertNotNull(this.forumId);
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.moderator()

        assertNotNull(newlyStartedForum);
        assertEquals(forum.tenant(), newlyStartedForum.tenant());
        assertEquals(this.forumId, newlyStartedForum.forumId().id());
        assertEquals(forum.creator().identity(), newlyStartedForum.creator().identity());
        assertEquals(forum.moderator().identity(), newlyStartedForum.moderator().identity());
        assertEquals(forum.subject(), newlyStartedForum.subject());
        assertEquals(forum.description(), newlyStartedForum.description());
    }

    public void testStartExclusiveForum() throws Exception {
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.moderator()

        forumApplicationService.startExclusiveForum(
                forum.tenant().id(),
                exclusiveOwner,
                forum.creator().identity(),
                forum.moderator().identity(),
                forum.subject(),
                forum.description(),
                result);

        assertNotNull(this.forumId);
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.