}
@Test
public void RelationPreferencesForSourceInstanceTargetInstance_tc114() {
Implementation implementation = waitForImplByName(null,
"S07-DependencyImpl");
Implementation implementationTarget = waitForImplByName(null,
"S07-implementation-17");
Instance instanceInvalid01 = implementation.createInstance(null,
new HashMap<String, String>() {
{
put("criteria", "do-not-take-this-instance");
}
});
Instance instanceInvalid02 = implementation.createInstance(null,
new HashMap<String, String>() {
{
put("criteria", "neither-this");
}
});
Instance instanceValid01 = implementation.createInstance(null,
new HashMap<String, String>() {
{
put("criteria", "the-chosen-one");
}
});
Instance instanceValid02 = implementation.createInstance(null,
new HashMap<String, String>() {
{
put("criteria", "the-chosen-one");
}
});
Instance instanceInvalid03 = implementation.createInstance(null,
new HashMap<String, String>() {
{
put("criteria", "ignore-this");
}
});
Instance instanceTarget = implementationTarget.createInstance(null,
null);
S07ImplementationImporter17 implem = (S07ImplementationImporter17) instanceTarget
.getServiceObject();