assertNotNull(entity.getSimulationProblem());
}
@Override
protected TrainingProblem getEntity(String name) throws Exception {
TrainingProblem tp = new TrainingProblem();
tp.setNumOfConfigs(NUM_OF_CONFIGS);
tp.setNumOfFeatures(NUM_OF_FEATURES);
TestSelector ts = new TestSelector(session);
tp.setSelector(ts.createEntity("selector for training problem " + name));
tp.setSimulationProblem((new TestProblemDefinition(session))
.createEntity("simulation problem for training problem " + name));
return tp;
}