DummyInferredStorageConnector implements InferredStorageConnector { @Override public boolean isConsistent(String context) { return true; } DummyInferredStorageConnector(StorageConnector connector); @Override Collection<Statement> findWithInference(Resource subject, Property property, RDFNode value, String context); @Override boolean containsWithInference(Resource subject, Property property, RDFNode value, String context); @Override boolean isConsistent(String context); @Override AbstractResultSet executeSelectQuery(Query query,
                                                cz.cvut.kbss.ontodriver.Statement.StatementOntology target); @Override AbstractResultSet executeAskQuery(Query query,
                                             cz.cvut.kbss.ontodriver.Statement.StatementOntology target); @Override void executeUpdate(String query, cz.cvut.kbss.ontodriver.Statement.StatementOntology target);  }
@Test public void isConsistentReturnsTrue() { assertTrue(connector.isConsistent(null)); }
@Test public void isContextConsistentReturnsTrue() { assertTrue(connector.isConsistent(NAMED_GRAPH)); }