String A = InspectorMorse.class.getName(), B = InspectorLewis.class.getName();
Resource r = resourceInModel
( "x rdf:type eye:Inspector; x eye:includeByName 'nameA'; x eye:includeByName 'nameB'"
+ "; A rdf:type eye:Inspector & eye:shortName 'nameA' & eye:className '" + A + "'"
+ "; B rdf:type eye:Inspector & eye:shortName 'nameB' & eye:className '" + B + "'" );
Inspector i = (Inspector) new InspectorAssembler().open( r );
Report report = new Report();
i.end( report );
String expected =
"[eye:mainProperty inspectorWasHere & inspectorWasHere 'lewis']"
+ "; [eye:mainProperty inspectorWasHere & inspectorWasHere 'morse']";