catch ( Exception e )
{
fail( e.getMessage() );
}
BatchResponse batchResponse = parser.getBatchResponse();
assertEquals( 2, batchResponse.getResponses().size() );
LdapResponse response = batchResponse.getCurrentResponse();
if ( response instanceof ExtendedResponse )
{
assertTrue( true );
}