use of uk.ac.bbsrc.tgac.miso.core.data.SampleAliquotRna in project miso-lims by miso-lims.
the class AbstractBulkSampleIT method assertAllForRnaAliquot.
protected void assertAllForRnaAliquot(Map<String, String> aliquot, Long sampleId, boolean newlyCreated) {
SampleAliquotRna target = (SampleAliquotRna) getSession().get(SampleAliquotRnaImpl.class, sampleId);
assertNotNull(target);
assertPlainSampleAttributes(aliquot, target, newlyCreated);
assertDetailedSampleAttributes(aliquot, target);
assertAnalyteAttributes(aliquot, target);
assertAliquotAttributes(aliquot, target);
if (newlyCreated) {
SampleStockRna stockParent = LimsUtils.getParent(SampleStockRna.class, target);
assertStockAttributes(aliquot, stockParent);
assertRnaStockSampleAttributes(aliquot, stockParent);
SampleTissue tissueParent = LimsUtils.getParent(SampleTissue.class, target);
assertTissueAttributes(aliquot, tissueParent);
}
}
Aggregations