822823824825826827828829830831832
public void shouldBuildLiteral() { // given OWLLiteral expected = df.getOWLLiteral(true); BuilderLiteral builder = new BuilderLiteral(expected, df); // when OWLObject built = builder.buildObject(); // then assertEquals(expected, built); } @Test
762763764765766767768769770771772
// given BuilderLiteral builder = new BuilderLiteral(df).withValue(true) .withAnnotations(annotations); OWLObject expected = df.getOWLLiteral(true); // when OWLObject built = builder.buildObject(); // then assertEquals(expected, built); } @Test