OwlapiDriver implements Closeable, ConnectionListener { synchronized void reloadData() throws OwlapiDriverException { assert open; connectorFactory.reloadData(); } OwlapiDriver(OntologyStorageProperties storageProperties, Map<String, String> properties); @Override synchronized void close(); @Override boolean isOpen(); @Override void connectionClosed(Connection connection);  }
@Test public void reloadDataReloadsDataInConnector() throws Exception { driver.reloadData(); verify(factoryMock).reloadData(); }