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