285286287288289290291292293294295
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); } @Test
352353354355356357358359360361362
public void shouldBuildClass() { // given OWLClass expected = df.getOWLClass(iri); BuilderClass builder = new BuilderClass(expected, df); // when OWLObject built = builder.buildObject(); // then assertEquals(expected, built); } @Test