catch ( Exception e )
{
fail( e.getMessage() );
}
AbandonRequest abandonRequest = ( AbandonRequest ) parser.getBatchRequest().getCurrentRequest();
Control control = abandonRequest.getCurrentControl();
assertEquals( 2, abandonRequest.getControls().size() );
assertFalse( control.getCriticality() );
assertEquals( "1.2.840.113556.1.4.789", control.getControlType() );
assertEquals( "Some other text", StringTools.utf8ToString( ( byte[] ) control.getControlValue() ) );
}