ReferenceSavingResolver { void registerPendingReference(NamedResource subject, Assertion assertion, Object object, URI context) { mapper.registerPendingAssertion(subject, assertion, object, context); } ReferenceSavingResolver(ObjectOntologyMapperImpl mapper);   }
@Test void registerPendingReferenceRegistersReferenceInMapper() { final NamedResource subject = NamedResource.create(Generators.createIndividualIdentifier()); final Assertion assertion = Assertion.createObjectPropertyAssertion(Generators.createPropertyIdentifier(), false); final OWLClassA object = new OWLClassA(); resolver.registerPendingReference(subject, assertion, object, null); verify(mapperMock).registerPendingAssertion(subject, assertion, object, null); }