11191120112111221123112411251126112711281129
// given BuilderSWRLDataRangeAtom builder = new BuilderSWRLDataRangeAtom(df) .with(d).with(var1); OWLObject expected = df.getSWRLDataRangeAtom(d, var1); // when OWLObject built = builder.buildObject(); // then assertEquals(expected, built); } @Test
11741175117611771178117911801181118211831184
// given SWRLDataRangeAtom expected = df.getSWRLDataRangeAtom(d, var1); BuilderSWRLDataRangeAtom builder = new BuilderSWRLDataRangeAtom( expected, df); // when OWLObject built = builder.buildObject(); // then assertEquals(expected, built); } @Test