Assert.assertEquals(2, connection.getSize());
Assert.assertEquals(2, connection.getSize(context));
Assert.assertEquals(0, connection.getSize(subject));
Assert.assertThat(Iterations.asList(connection.listContexts()), hasItem((KiWiResource)context));
// clear cache and test again
persistence.clearCache();
List<Statement> result3 = Iterations.asList(connection.listTriples(subject,null,null,null,false, true));