Omnipay\Common\Message\AbstractResponseTest::testGetRedirectResponseInvalidMethod PHP Метод

testGetRedirectResponseInvalidMethod() публичный Метод

    public function testGetRedirectResponseInvalidMethod()
    {
        $this->response = m::mock('\\Omnipay\\Common\\Message\\AbstractResponseTest_MockRedirectResponse')->makePartial();
        $this->response->shouldReceive('getRedirectMethod')->andReturn('DELETE');
        $this->response->getRedirectResponse();
    }