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
Merge pull request #4157 from dakota/3.0-fix-request-method-test-action

Fix an issue with calling Request::method() in a test