971972973974975976977978979980981982
} @Test public void shouldBuildOneOf() { // given BuilderOneOf builder = new BuilderOneOf(df).withItem(i); OWLObject expected = df.getOWLObjectOneOf(i); // when OWLObject built = builder.buildObject(); // then assertEquals(expected, built); }
10321033103410351036103710381039104010411042
@Test public void shouldBuildOneOf() { // given OWLObjectOneOf expected = df.getOWLObjectOneOf(i); BuilderOneOf builder = new BuilderOneOf(expected, df); // when OWLObject built = builder.buildObject(); // then assertEquals(expected, built); }