catch ( Exception e )
{
fail( e.getMessage() );
}
ModifyResponse modifyResponse = ( ModifyResponse ) parser.getBatchResponse().getCurrentResponse();
Map<String, Control> controls = modifyResponse.getControls();
assertEquals( 2, modifyResponse.getControls().size() );
Control control = controls.get( "1.2.840.113556.1.4.789" );
assertNotNull( control );
assertFalse( control.isCritical() );