Contao\CoreBundle\Test\Security\User\ContaoUserProviderTest::testLoadWithInvalidScope PHP Method

testLoadWithInvalidScope() public method

Tests an invalid container scope.
    public function testLoadWithInvalidScope()
    {
        $provider = new ContaoUserProvider($this->framework);
        $provider->setContainer($this->mockContainerWithContaoScopes('invalid'));
        $provider->loadUserByUsername('frontend');
    }