JenaStatement implements Statement { @Override public void executeUpdate(String sparql) throws JenaDriverException { ensureOpen(); Objects.requireNonNull(sparql); closeCurrentResultSet(); executor.executeUpdate(sparql, targetOntology); } JenaStatement(StatementExecutor executor); @Override ResultSet executeQuery(String sparql); @Override void executeUpdate(String sparql); @Override void useOntology(StatementOntology ontology); @Override StatementOntology getStatementOntology(); @Override void close(); @Override boolean isOpen();  }
@Test public void executeUpdateExecutesUpdateQuery() throws JenaDriverException { final String query = "INSERT DATA { _:b1 a <http: statement.executeUpdate(query); verify(executor).executeUpdate(query, Statement.StatementOntology.CENTRAL); }