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

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

    public function testGetRedirectResponseNotSupported()
    {
        $this->response = m::mock('\\Omnipay\\Common\\Message\\AbstractResponseTest_MockRedirectResponse')->makePartial();
        $this->response->shouldReceive('isRedirect')->once()->andReturn(false);
        $this->response->getRedirectResponse();
    }