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