AxiomDescriptor { public void setSubjectContext(URI context) { this.subjectContext = context; } AxiomDescriptor(NamedResource subject); void setSubjectContext(URI context); void addAssertion(Assertion assertion); void setAssertionContext(Assertion assertion, URI context); NamedResource getSubject(); URI getSubjectContext(); URI getAssertionContext(Assertion assertion); Set<Assertion> getAssertions(); boolean containsAssertion(Assertion assertion); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test void testSetSubjectContext() { assertNull(sut.getSubjectContext()); sut.setSubjectContext(CONTEXT); assertNotNull(sut.getSubjectContext()); assertEquals(CONTEXT, sut.getSubjectContext()); }