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

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


        // 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 {
            assertEquals(post.replyToPostId().id(), postData.getReplyToPostId());
        }
    }
}
View Full Code Here


        assertEquals(post.bodyText(), postData.getBodyText());

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