Neos\Flow\Tests\Unit\Security\Authentication\Provider\PersistedUsernamePasswordProviderTest::authenticatingAnUnsupportedTokenThrowsAnException PHP Method

authenticatingAnUnsupportedTokenThrowsAnException() public method

    public function authenticatingAnUnsupportedTokenThrowsAnException()
    {
        $someNiceToken = $this->createMock(Security\Authentication\TokenInterface::class);
        $usernamePasswordProvider = new Security\Authentication\Provider\PersistedUsernamePasswordProvider('myProvider', array());
        $usernamePasswordProvider->authenticate($someNiceToken);
    }