public function generateSecret()
{
//Mock the Google class
$this->google->expects($this->once())->method('generateSecret')->willReturn('SECRETCODE');
$authenticator = $this->createAuthenticator();
$returnValue = $authenticator->generateSecret();
$this->assertEquals('SECRETCODE', $returnValue);
}