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