public function setUp()
{
$this->authHandler = $this->createMock('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\AuthenticationHandlerInterface');
$this->cookieManager = $this->createMock('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieManager');
$this->trustedFilter = $this->getTrustedFilter($this->authHandler, $this->cookieManager, true);
}