text.read( createInputStreamStub( string ) );
reset();
mockView.update( string.length() - 1, 1 );
mockView.modified( true );
replay();
text.remove( new Coordinate( THRESHOLD - 2, 0 ), new Coordinate( THRESHOLD - 1, 0 ) );
assertEquals( "this is my very log string larger than three times the threshold", text.getLine( 0 ) );
verify();
reset();
mockView.update( string.length() - 2, 1 );
mockView.modified( true );
replay();
text.remove( new Coordinate( THRESHOLD + 3, 0 ), new Coordinate( THRESHOLD + 4, 0 ) );
assertEquals( "this is my very log strng larger than three times the threshold", text.getLine( 0 ) );
verify();
reset();
mockView.update( string.length() - 8, 1 );
mockView.modified( true );
replay();
text.remove( new Coordinate( THRESHOLD - 3, 0 ), new Coordinate( THRESHOLD + 3, 0 ) );
assertEquals( "this is my very lng larger than three times the threshold", text.getLine( 0 ) );
}