public function setUp()
{
$this->authenticator = $this->createMock('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Provider\\Google\\Validation\\CodeValidatorInterface');
$this->renderer = $this->createMock('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Renderer');
$this->provider = new TwoFactorProvider($this->authenticator, $this->renderer, 'authCodeName');
}