catch ( Exception e )
{
fail( e.getMessage() );
}
CompareResponse compareResponse = ( CompareResponse ) parser.getBatchResponse().getCurrentResponse();
assertEquals( 2, compareResponse.getControls().size() );
Control control = compareResponse.getCurrentControl();
assertFalse( control.getCriticality() );
assertEquals( "1.2.840.113556.1.4.789", control.getControlType() );