}
@Override
protected Selection getEntity(String name) throws Exception {
Selection sel = new Selection();
TestRuntimeConfiguration trc = new TestRuntimeConfiguration(session);
sel.setRuntimeConfiguration(trc
.createEntity("runtime config for selection " + name));
TestSelector ts = new TestSelector(session);
sel.setSelector(ts.createEntity("selectorfor selection " + name));
Set<IFeature> features = new HashSet<>();
TestFeatureValue tfv = new TestFeatureValue(false);
tfv.setUp();
for (int i = 0; i < NUM_OF_FEATURES; i++) {
features.add(tfv.createEntity("feature value for selection " + name));
}
tfv.tearDown();
sel.setFeatures(features);
return sel;
}