Doctrine 2 entity factory and expectation testing helper framework for Behat