getEmptyNamespaceMocks example

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

/** * @author Bernhard Schussek <bschussek@gmail.com> * @author Alexandre Daubois <alex.daubois@gmail.com> */
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.