JenaAdapter implements Wrapper { void close() throws JenaDriverException { connector.close(); } JenaAdapter(StorageConnector connector, InferredStorageConnector inferenceConnector); ListHandler<SimpleListDescriptor, SimpleListValueDescriptor> simpleListHandler(); ListHandler<ReferencedListDescriptor, ReferencedListValueDescriptor> referencedListHandler(); @Override T unwrap(Class<T> cls);  }
@Test void closeClosesConnector() throws Exception { adapter.close(); verify(connectorMock).close(); }