コード例 #1
0
 @Test(expected = LanguageNotFound.class)
 public void searchByLanguageIfLanguageIsNotFound() throws Exception {
   scategory.findByLanguage("Animation");
 }
コード例 #2
0
 @Test
 public void searchByLanguageSuccess() throws Exception {
   assertTrue(scategory.findByLanguage("English").size() > 1);
 }