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

testRefreshUser() public method

Tests refreshing a user.
public testRefreshUser ( )
    public function testRefreshUser()
    {
        $provider = new ContaoUserProvider($this->framework);
        $provider->setContainer($this->mockContainerWithContaoScopes(ContaoCoreBundle::SCOPE_FRONTEND));
        $provider->refreshUser(new User('foo', 'bar'));
    }