catch ( Exception e )
{
fail( e.getMessage() );
}
BindResponse bindResponse = ( BindResponse ) parser.getBatchResponse().getCurrentResponse();
Control control = bindResponse.getCurrentControl();
assertEquals( 1, bindResponse.getControls().size() );
assertTrue( control.getCriticality() );
assertEquals( "1.2.840.113556.1.4.643", control.getControlType() );
assertEquals( StringTools.EMPTY_BYTES, ( byte[] ) control.getControlValue() );
}