671672673674675676677678679680681
public void shouldBuildEntity() { // given OWLClass expected = df.getOWLClass(iri); BuilderEntity builder = new BuilderEntity(expected, df); // when OWLObject built = builder.buildObject(); // then assertEquals(expected, built); } @Test
608609610611612613614615616617618
// given BuilderEntity builder = new BuilderEntity(df).withIRI(iri).withType( EntityType.CLASS); OWLObject expected = df.getOWLClass(iri); // when OWLObject built = builder.buildObject(); // then assertEquals(expected, built); } @Test