@Test public void testCommentHaveUser() throws Exception { Comment comment = jpaCommentDao.getCommentById(1); assertEquals(User.class, comment.getUser().getClass()); }
@Test public void testCommentHaveUser() throws Exception { Comment comment = jpaCommentDao.getCommentById(1); assertEquals(User.class, comment.getUser().getClass()); }