Neos\Flow\Tests\Functional\Security\Authentication\Provider\PersistedUsernamePasswordProviderTest::authenticationWithWrongUserName PHP Метод

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

    public function authenticationWithWrongUserName()
    {
        $this->authenticationToken->_set('credentials', ['username' => 'wrongUsername', 'password' => 'password']);
        $this->persistedUsernamePasswordProvider->authenticate($this->authenticationToken);
        $this->assertFalse($this->authenticationToken->isAuthenticated());
    }