catch ( Exception e )
{
fail( e.getMessage() );
}
BindResponse bindResponse = ( BindResponse ) parser.getBatchResponse().getCurrentResponse();
Map<String, Control> controls = bindResponse.getControls();
assertEquals( 3, bindResponse.getControls().size() );
Control control = controls.get( "1.2.840.113556.1.4.456" );
assertNotNull( control );
assertTrue( control.isCritical() );