@Test public void testGetSortedClasses() { List<Category> classes = bag.getSortedClasses(); assertTrue(classes.size() == 1); assertEquals("Images", classes.get(0).value); }
@Test public void testGetSourceCitation() { assertEquals("GaBi database", bag.getSourceCitation()); }
@Test public void testGetShortName() { assertEquals( "IMA-Europe_Plastic_Clay_diagramme_" + "2c699413-f88b-4cb5-a56d-98cb4068472f.jpg", bag.getShortName().trim()); }
@Test public void testGetComment() { assertNull(bag.getComment()); }
@Test public void testGetId() { assertEquals("2c699413-f88b-4cb5-a56d-98cb4068472f", bag.getId()); }