Revision 42002c0a
Added by Patrick Plitzner almost 6 years ago
cdmlib-io/src/test/java/eu/etaxonomy/cdm/io/specimen/abcd206/in/AbcdGgbnImportTest.java | ||
---|---|---|
498 | 498 |
assertEquals("Wrong number of originals", 1, dnaSample.getDerivedFrom().getOriginals().size()); |
499 | 499 |
|
500 | 500 |
FieldUnit specimenFieldUnit = (FieldUnit) occurrenceService.load(fieldUnit1Uuid); |
501 |
Collection<FieldUnit> fieldUnits = occurrenceService.getFieldUnits(dnaSample.getUuid()); |
|
501 |
Collection<FieldUnit> fieldUnits = occurrenceService.getFieldUnits(dnaSample.getUuid(), null);
|
|
502 | 502 |
assertEquals(1, fieldUnits.size()); |
503 | 503 |
FieldUnit dnaSampleFieldUnit = fieldUnits.iterator().next(); |
504 | 504 |
assertEquals(specimenFieldUnit, dnaSampleFieldUnit); |
... | ... | |
558 | 558 |
|
559 | 559 |
assertEquals("Wrong number of originals", 1, dnaSample.getDerivedFrom().getOriginals().size()); |
560 | 560 |
FieldUnit specimenFieldUnit = (FieldUnit) occurrenceService.load(fieldUnit1Uuid); |
561 |
Collection<FieldUnit> fieldUnits = occurrenceService.getFieldUnits(dnaSample.getUuid()); |
|
561 |
Collection<FieldUnit> fieldUnits = occurrenceService.getFieldUnits(dnaSample.getUuid(), null);
|
|
562 | 562 |
assertEquals(1, fieldUnits.size()); |
563 | 563 |
FieldUnit dnaSampleFieldUnit = fieldUnits.iterator().next(); |
564 | 564 |
assertEquals(specimenFieldUnit, dnaSampleFieldUnit); |
Also available in: Unified diff
ref #7095 Add property paths to some methods