public function setUp()
{
$this->persister = $this->createMock('Scheb\\TwoFactorBundle\\Model\\PersisterInterface');
$this->mailer = $this->createMock('Scheb\\TwoFactorBundle\\Mailer\\AuthCodeMailerInterface');
$this->authCodeManager = new TestableCodeGenerator($this->persister, $this->mailer, 5);
$this->authCodeManager->testCode = 12345;
}