assertIteratorValues(gen.iterator(), expected.iterator());
}
@Test
public void testDatavalueBindingGeneratorChainedSubject() {
DatavaluedPropertyAtom pattern1 = new DatavaluedPropertyAtom(dp2, x, new AtomDConstant(data2));
DatavaluedPropertyAtom pattern2 = new DatavaluedPropertyAtom(dp2, y, new AtomDConstant(data2));
BindingHelper genHelper1 = new DatavaluePropertyBindingHelper(kb.getABox(), pattern1);
BindingHelper genHelper2 = new DatavaluePropertyBindingHelper(kb.getABox(), pattern2);
BindingGenerator gen = new BindingGeneratorImpl(kb.getABox(), new VariableBinding(kb.getABox()), Arrays
.asList(new BindingHelper[] { genHelper1, genHelper2 }));