Examples of subject()


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

        assertEquals(forum.creator().identity(), forumDiscussionsData.getCreatorIdentity());
        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());
View Full Code Here

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

        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.subject()

        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.subject()

        forumApplicationService.startExclusiveForum(
                forum.tenant().id(),
                exclusiveOwner,
                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.subject()

        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());
        assertEquals(exclusiveOwner, newlyStartedForum.exclusiveOwner());
    }

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

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

                forum.tenant().id(),
                exclusiveOwner,
                forum.creator().identity(),
                forum.moderator().identity(),
                "authorId1",
                forum.subject(),
                forum.description(),
                "Discussion Subject",
                result);

        assertNotNull(this.forumId);
View Full Code Here

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

        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());
        assertEquals(exclusiveOwner, newlyStartedForum.exclusiveOwner());

        Discussion newlyStartedDiscussion =
                DomainRegistry
View Full Code Here

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

                            new PostId(postId));

        assertNotNull(discussionId);
        assertNotNull(post);
        assertEquals("authorId1", post.author().identity());
        assertEquals("Post Test", post.subject());
        assertEquals("Post test text...", post.bodyText());
    }

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

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

        assertNotNull(discussionId);
        assertNotNull(inReplyToPostId);
        assertNotNull(postedInReplyTo);
        assertEquals("authorId2", postedInReplyTo.author().identity());
        assertEquals("Post In Reply To Test", postedInReplyTo.subject());
        assertEquals("Post test text in reply to...", postedInReplyTo.bodyText());
    }

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

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

        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());
        assertEquals(post.subject(), postData.getSubject());
        assertEquals(post.bodyText(), postData.getBodyText());

        if (postData.getReplyToPostId() == null) {
            assertEquals(post.replyToPostId(), postData.getReplyToPostId());
        } else {
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.