ImboUnitTest\EventListener\AuthenticateTest::testThrowsExceptionWhenTimestampIsInvalid PHP Метод

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

    public function testThrowsExceptionWhenTimestampIsInvalid()
    {
        $this->headers->expects($this->at(0))->method('has')->with('x-imbo-authenticate-timestamp')->will($this->returnValue(true));
        $this->headers->expects($this->at(1))->method('has')->with('x-imbo-authenticate-signature')->will($this->returnValue(true));
        $this->headers->expects($this->at(2))->method('get')->with('x-imbo-authenticate-timestamp')->will($this->returnValue('some string'));
        $this->listener->authenticate($this->event);
    }