use of ubic.gemma.model.expression.experiment.ExpressionExperimentDetailsValueObject in project Gemma by PavlidisLab.
the class CuratableValueObjectTest method testCuratableValueObjectCreation.
@Test
public void testCuratableValueObjectCreation() {
ArrayDesignValueObject adVO = this.arrayDesignService.loadValueObject(arrayDesign);
assertNotNull(adVO);
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
ExpressionExperimentValueObject eeVO = this.expressionExperimentService.loadValueObject(expressionExperiment);
assertNotNull(eeVO);
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
ExpressionExperimentDetailsValueObject eeDVO = new ExpressionExperimentDetailsValueObject(eeVO);
eeDVO.setArrayDesigns(Collections.singleton(adVO));
assertNotNull(eeDVO);
assertNotNull(eeDVO.getArrayDesigns());
}
Aggregations