JenaAdapter implements Wrapper { void remove(AxiomDescriptor descriptor) { beginTransactionIfNotActive(); new EpistemicAxiomRemover(connector).remove(descriptor); } JenaAdapter(StorageConnector connector, InferredStorageConnector inferenceConnector); ListHandler<SimpleListDescriptor, SimpleListValueDescriptor> simpleListHandler(); ListHandler<ReferencedListDescriptor, ReferencedListValueDescriptor> referencedListHandler(); @Override T unwrap(Class<T> cls);  }
@Test void removeRemovesStatementsFromStorage() { final AxiomDescriptor descriptor = new AxiomDescriptor(SUBJECT); final Assertion assertion = Assertion.createObjectPropertyAssertion(Generator.generateUri(), false); descriptor.addAssertion(assertion); adapter.remove(descriptor); verify(connectorMock).remove(SUBJECT_RESOURCE, assertionToProperty(assertion), null, null); }