Revision 70052603
Added by Andreas Müller over 7 years ago
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/IdentifiableServiceBaseTest.java | ||
---|---|---|
220 | 220 |
FindByMarkerDTO<Taxon>.Marker marker = dto.getMarker(); |
221 | 221 |
Assert.assertTrue("Flag must be true", marker.getFlag()); |
222 | 222 |
Assert.assertEquals("Flag must be true", uuidMarkerTypeCompleted, marker.getTypeUuid()); |
223 |
Assert.assertNotNull("the CDM entity in the dto must not be empty if includeEntity=true", dto.getCdmEntity().getEntityX());
|
|
224 |
Assert.assertEquals(5000, dto.getCdmEntity().getEntityX().getId());
|
|
223 |
Assert.assertNotNull("the CDM entity in the dto must not be empty if includeEntity=true", dto.getCdmEntity().getEntity()); |
|
224 |
Assert.assertEquals(5000, dto.getCdmEntity().getEntity().getId()); |
|
225 | 225 |
|
226 | 226 |
markerValue = false; |
227 | 227 |
taxonPager = taxonService.findByMarker(Taxon.class, markerType, markerValue, rootNode, false, null, null, null); |
Also available in: Unified diff
ref #6072 test missing entity in webservice