public void testAllArtifacts() { assertNotNull(batchProject); Collection<IBatchArtifact> cs = batchProject.getAllArtifacts(); assertFalse(cs.isEmpty()); int total = cs.size(); int total2 = 0; for (BatchArtifactType t : BatchArtifactType.values()) { cs = batchProject.getArtifacts(t); total2 += cs.size(); } assertEquals(total, total2); }