public PostCommentTest() { CommentTest comment = new CommentTest(); AddDependentObject(comment); PostTest Post = new PostTest(); AddDependentObject(Post); mPostComment = new PostComment(); mPostComment.Comment = comment.Comment; mPostComment.Post = Post.Post; }
public ThreadTest() { CommentTest comment = new CommentTest(); AddDependentObject(comment); CommentTest parentcomment = new CommentTest(); AddDependentObject(parentcomment); mThread = new Thread(); mThread.Comment = comment.Comment; mThread.ParentComment = parentcomment.Comment; }
public ImageCommentTest() { ImageTest image = new ImageTest(); AddDependentObject(image); CommentTest comment = new CommentTest(); AddDependentObject(comment); mImageComment = new ImageComment(); mImageComment.Image = image.Image; mImageComment.Comment = comment.Comment; }