public function setUp()
{
$this->trustedComputerManager = $this->createMock('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedComputerManagerInterface');
$this->tokenGenerator = $this->createMock('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedTokenGenerator');
$this->cookieManager = new TestableTrustedCookieManager($this->tokenGenerator, $this->trustedComputerManager, 'cookieName', 600, false);
$this->testTime = new \DateTime('2014-01-01 00:00:00 UTC');
$this->cookieManager->testTime = $this->testTime;
}