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