@Test public void testGetByAcronym() { MgmtEntity entity = dao.getByAcronym("ICCAT"); assertNotNull(entity); assertEquals("ICCAT", entity.getAcronym()); assertEquals(new Long(1), entity.getCode()); }