@Test public void testFindByTaskId() throws Exception { TaskTranslation translation = new TaskTranslation(); translation.setTaskId(new Long(898)); translationService.createTranslation(translation); TaskTranslation found = translationService.findByTaskId(new Long(898)); assertNotNull(found); translationService.delete(found); }