public void test_filter(){
  final FilterBase fixture=new MockFilterBase();
  final Object context=new Object();
  final Iterator src=EmptyIterator.DEFAULT;
  final MockIterator actual=(MockIterator)fixture.filter(src,context);
  assertNotNull(actual);
  assertTrue("src",actual.src == src);
  assertTrue("context",actual.context == context);
  assertTrue("filter",actual.filter == fixture);
}

public void test_filter ( ) { final FilterBase fixture = new MockFilterBase ( ) ; final Object context = new Object ( ) ; final Iterator src = EmptyIterator . DEFAULT ; final MockIterator actual = ( MockIterator ) fixture . filter ( src , context ) ; assertNotNull ( actual ) ; assertTrue ( "src" , actual . src == src ) ; assertTrue ( "context" , actual . context == context ) ; assertTrue ( "filter" , actual . filter == fixture ) ; }
test creation of iterator without filter chain . make sure that the context is passed through .
