282283284285286287288289290291292293
} @Test public void shouldBuildClass() { // given BuilderClass builder = new BuilderClass(df).withIRI(iri); OWLObject expected = df.getOWLClass(iri); // when OWLObject built = builder.buildObject(); // then assertEquals(expected, built); }
350351352353354355356357358359360
@Test public void shouldBuildClass() { // given OWLClass expected = df.getOWLClass(iri); BuilderClass builder = new BuilderClass(expected, df); // when OWLObject built = builder.buildObject(); // then assertEquals(expected, built); }