TeStereo report
APIUtilityVerifier IterativeVerifier InternalCallVerifier BooleanVerifier NullVerifier EqualityVerifier HybridVerifier 
@Test public void testReprentationMappings() throws Exception { EntityhubLDPath ldPath=new EntityhubLDPath(backend); Program program=ldPath.parseProgram(getReader(DATA_TYPE_TEST_PROGRAM)); assertNotNull("The Program MUST NOT be NULL",program); Representation result=ldPath.execute(vf.createReference(CONTEXT_LONDON),program); assertEquals("The id of the Representation '" + result.getId() + "' is not the same as the parsed Context '"+ CONTEXT_LONDON+ "'!",CONTEXT_LONDON,result.getId()); Iterator>> entryIt=cloneExpected(EXPECTED_RESULTS_LONDON).entrySet().iterator(); while (entryIt.hasNext()) { Entry> entry=entryIt.next(); Iterator valueIt=result.get(entry.getKey()); assertNotNull("The result is missing the expected field '" + entry.getKey() + "'!",valueIt); Collection values=ModelUtils.asCollection(valueIt); entry.getValue().removeAll(values); assertTrue("The following expected values " + entry.getValue() + "' are missing (present: "+ values+ ")!",entry.getValue().isEmpty()); } }