List<Justification> supported1 = asList(connection.listJustificationsBySupporting((KiWiTriple) baseTriples.get(1)));
Assert.assertEquals("number of justifications is wrong",2,supported1.size());
Assert.assertThat("justifications differ", supported1, hasItems(j1,j2));
// only j1 should be supported by triple baseTriples.get(0))
List<Justification> supported2 = asList(connection.listJustificationsBySupporting((KiWiTriple) baseTriples.get(0)));
Assert.assertEquals("number of justifications is wrong", 1, supported2.size());
Assert.assertThat("justifications differ", supported2, allOf(hasItem(j1), not(hasItem(j2))));
// only j2 should be supported by triple baseTriples.get(2))
List<Justification> supported3 = asList(connection.listJustificationsBySupporting((KiWiTriple) baseTriples.get(2)));