cakephp/cakephp — pull request #4157 by dakota (2014-08-04 10:33:01+00:00)
Title: Fix an issue with calling Request::method() in a test

Trying to call Request::method() during a testAction request was throwing
```
Missing argument 1 for PHPUnit_Framework_MockObject_Builder_InvocationMocker::method()
```
as it was trying to call the method() method for mocks.

This patch corrects that issue by mocking out the method() method in a testAction request