use of uk.ac.bbsrc.tgac.miso.core.data.BoxUse in project miso-lims by miso-lims.
the class HibernateBoxUseDaoIT method testGetUsage.
@Test
public void testGetUsage() throws IOException {
BoxUse boxUse = (BoxUse) getSessionFactory().getCurrentSession().get(BoxUse.class, 1L);
assertEquals("boxuse1", boxUse.getAlias());
assertEquals(2L, sut.getUsage(boxUse));
}
Aggregations