/** TestCase 21.1 Test whether comment takes user and allows for username retreival */ public void testCommentUser() { String theUserName = "******"; UserModel user = new UserModel(theUserName); CommentModel comment = new CommentModel(); comment.setPostedBy(user); assertEquals(theUserName, comment.getPostedBy().getUserName()); }