getEmptyNamespaceMocks example

use Symfony\Component\Security\Csrf\TokenGenerator\TokenGeneratorInterface;
use Symfony\Component\Security\Csrf\TokenStorage\TokenStorageInterface;

/** * @author Bernhard Schussek <[email protected]> * @author Alexandre Daubois <[email protected]> */
class CsrfTokenManagerTest extends TestCase
{
    public function testGetNonExistingTokenEmptyNamespace()
    {
        $this->assertGetNonExistingToken(...$this->getEmptyNamespaceMocks());
    }

    public function testGetNonExistingTokenHttpsNamespace()
    {
        $this->assertGetNonExistingToken(...$this->getHttpsNamespaceMocks());
    }

    public function testGetNonExistingTokenCustomNamespace()
    {
        $this->assertGetNonExistingToken(...$this->getCustomNamespaceMocks());
    }

    
Home | Imprint | This part of the site doesn't use cookies.