}
@Test
public void shouldBuildDataExactCardinality() {
// given
BuilderDataExactCardinality builder = new BuilderDataExactCardinality(
df).withCardinality(1).withProperty(dp).withRange(d);
OWLObject expected = df.getOWLDataExactCardinality(1, dp, d);
// when
OWLObject built = builder.buildObject();
// then
assertEquals(expected, built);
}