@Test public void testFindOneByAlternativeNameIgnoreCase() { assertEquals( testMusicTypeVersion.getId(), this.coreMusicTypeVersionDao .findOneByAlternativeNameIgnoreCase(testMusicTypeVersion.getName()) .getId()); }
@Test public void testFindByNameIgnoreCase() { assertEquals( testMusicTypeVersion.getName(), this.coreMusicTypeVersionDao .findByNameIgnoreCase(testMusicTypeVersion.getName()) .get(0) .getName()); }
@After public void deleteTestRecords() throws Exception { // Delete generated test records this.coreMusicTypeVersionDao.delete(testMusicTypeVersion.getId()); testMusicTypeVersion = null; }