Behat/Gherkin — pull request #34 by karolsojko (2012-10-25 17:36:07+00:00)
Title: Fixed mocking for PHPUnit 3.7

Since the last build - [106](https://travis-ci.org/#!/Behat/Gherkin/jobs/2568218), Travis has switched from PHPUnit 3.6.12 to PHPUnit 3.7.7 in the [107th](https://travis-ci.org/#!/Behat/Gherkin/jobs/2928235) build

The change is that parameters for mock objects do not get cloned anymore, so comparing objects has to be done like [this](http://www.phpunit.de/manual/3.7/en/test-doubles.html#test-doubles.mock-objects.examples.clone-object-parameters-usecase.php)