974975976977978979980981982983984
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); } @Test
10341035103610371038103910401041104210431044
public void shouldBuildOneOf() { // given OWLObjectOneOf expected = df.getOWLObjectOneOf(i); BuilderOneOf builder = new BuilderOneOf(expected, df); // when OWLObject built = builder.buildObject(); // then assertEquals(expected, built); } @Test