Aacotroneo\Saml2\Saml2AuthTest::testIsAuthenticated PHP Method

testIsAuthenticated() public method

public testIsAuthenticated ( )
    public function testIsAuthenticated()
    {
        $auth = m::mock('OneLogin_Saml2_Auth');
        $saml2 = new Saml2Auth($auth);
        $auth->shouldReceive('isAuthenticated')->andReturn('return');
        $this->assertEquals('return', $saml2->isAuthenticated());
    }