Gc\User\VisitorTest::testGetUrlId PHP Method

testGetUrlId() public method

Test
public testGetUrlId ( ) : void
return void
    public function testGetUrlId()
    {
        $this->assertInternalType('integer', (int) $this->object->getUrlId('/something', null));
        //Existing url
        $this->assertInternalType('integer', (int) $this->object->getUrlId('/something', null));
        //with referer
        $this->assertInternalType('integer', (int) $this->object->getUrlId('/something', '/somewhat'));
    }