unionYard = new SesameYard(repo, unionYardConfig);
yards = Arrays.asList(yard1,yard2,unionYard);
//add the test data (to the Repository to also test pre-existing data)
RepositoryConnection con = repo.getConnection();
con.begin();
URI entity1 = sesameFactory.createURI("http://www.test.org/entity1");
con.add(entity1,rdfType,skosConcept,CONTEXT1);
con.add(entity1,skosPrefLabel,sesameFactory.createLiteral("test context one", EN),CONTEXT1);
con.add(entity1,skosPrefLabel,sesameFactory.createLiteral("Test Context Eins", DE),CONTEXT1);
expectedEntities.put(entity1, Arrays.asList(yard1,unionYard));
URI entity2 = sesameFactory.createURI("http://www.test.org/entity2");
con.add(entity2,rdfType,skosConcept,CONTEXT2);
con.add(entity2,skosPrefLabel,sesameFactory.createLiteral("test context two", EN),CONTEXT2);
con.add(entity2,skosPrefLabel,sesameFactory.createLiteral("Test Context Zwei", DE),CONTEXT2);
expectedEntities.put(entity2, Arrays.asList(yard2,unionYard));
con.commit();
con.close();
}