cakephp/cakephp — pull request #954 by rhelms (2012-11-13 03:12:05+00:00)
Title: Add CakeTestCase::getMockForModel convenience method

This method provides a convenience to create mocked models that
are still associated with fixtures and the datasource.

Corresponding ticket at [http://cakephp.lighthouseapp.com/projects/42648-cakephp/tickets/3364-feature-request-convenience-method-for-getting-model-mocks]