carew/carew — pull request #3 by seiffert (2013-07-26 20:33:27+00:00)
Title: Fixed unit test

* Since symfony v2.2.0, `Finder::addAdapter` uses a fluid interface.
To mock the `Finder`, one has to either mock the `addAdapter` method
and return the `Finder` object from it or prevent the constructor
being called. This commit uses the latter approach.