コード例 #1
0
ファイル: JpaCommentDaoIT.java プロジェクト: arcuri82/pg6100
 @Test
 public void testCommentHaveUser() throws Exception {
   Comment comment = jpaCommentDao.getCommentById(1);
   assertEquals(User.class, comment.getUser().getClass());
 }