public void initForTestCase(){
  data=new ArrayList<Byte>();
  counter=new AtomicInteger(0);
  endReached=false;
  if (RuntimeSettings.mockSystemIn) {
    System.setIn(this);
  }
}

public void initForTestCase ( ) { data = new ArrayList < Byte > ( ) ; counter = new AtomicInteger ( 0 ) ; endReached = false ; if ( RuntimeSettings . mockSystemIn ) { System . setIn ( this ) ; } }
setup mocked / stubbed system . in for the test case
