ImboUnitTest\EventListener\AccessTokenTest::testWillSkipValidationWhenShortUrlHeaderIsPresent PHP Method

testWillSkipValidationWhenShortUrlHeaderIsPresent() public method

    public function testWillSkipValidationWhenShortUrlHeaderIsPresent()
    {
        $this->responseHeaders->expects($this->once())->method('has')->with('X-Imbo-ShortUrl')->will($this->returnValue(true));
        $this->query->expects($this->never())->method('has');
        $this->listener->checkAccessToken($this->event);
    }