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