@SuppressWarnings("rawtypes") public void test_streamAPI(){
  final List<IBindingSet> expectedSolutions=new ArrayList<IBindingSet>();
{
    final IBindingSet expected=new ListBindingSet();
    expected.set(Var.var("x"),new Constant<IV>(termId));
    expectedSolutions.add(expected);
  }
{
    final IBindingSet expected=new ListBindingSet();
    expected.set(Var.var("x"),new Constant<IV>(termId));
    expected.set(Var.var("y"),new Constant<IV>(blobIV));
    expectedSolutions.add(expected);
  }
  doEncodeDecodeTest(expectedSolutions);
}

@ SuppressWarnings ( "rawtypes" ) public void test_streamAPI ( ) { final List < IBindingSet > expectedSolutions = new ArrayList < IBindingSet > ( ) ; { final IBindingSet expected = new ListBindingSet ( ) ; expected . set ( Var . var ( "x" ) , new Constant < IV > ( termId ) ) ; expectedSolutions . add ( expected ) ; } { final IBindingSet expected = new ListBindingSet ( ) ; expected . set ( Var . var ( "x" ) , new Constant < IV > ( termId ) ) ; expected . set ( Var . var ( "y" ) , new Constant < IV > ( blobIV ) ) ; expectedSolutions . add ( expected ) ; } doEncodeDecodeTest ( expectedSolutions ) ; }
unit test of the stream - oriented api .
