AtomDConstant semicolan = new AtomDConstant( literal( ";" ) );
Collection<AtomVariable> emptyCollection = Collections.emptySet();
Collection<AtomVariable> xSingleton = Collections.singleton( (AtomVariable) x );
BuiltInAtom sharedVarAtom = new BuiltInAtom( Namespaces.SWRLB + "tokenize", x, x, semicolan );
BindingHelper sharedVarHelper = StringOperators.tokenize.createHelper( sharedVarAtom );
assertTrue( sharedVarHelper.getBindableVars( emptyCollection ).isEmpty() );
assertTrue( sharedVarHelper.getBindableVars( xSingleton ).isEmpty() );
VariableBinding xdataBinding = new VariableBinding( kb.getABox() );
xdataBinding.set( x, data.getValue() );
sharedVarHelper.rebind( xdataBinding );
assertFalse( sharedVarHelper.selectNextBinding() );
}