public function testSecret()
 {
     $twofactorAdapter = new twofactorAdapter();
     $this->assertTrue($twofactorAdapter->check($twofactorAdapter->getCode()));
     $twofactorAdapter2 = new twofactorAdapter();
     $twofactorAdapter2->setSecret($twofactorAdapter->getSecret());
     $this->assertEquals($twofactorAdapter2->getSecret(), $twofactorAdapter->getSecret());
     $this->assertTrue($twofactorAdapter2->check($twofactorAdapter->getCode()));
     $this->assertEquals($twofactorAdapter2->getCode(), $twofactorAdapter->getCode());
     $twofactorAdapter2->setSecret("XVQ2UIGO75XRUKJO");
     $this->assertNotEquals($twofactorAdapter2->getSecret(), $twofactorAdapter->getSecret());
     $this->assertFalse($twofactorAdapter2->check($twofactorAdapter->getCode()));
     $this->assertTrue($twofactorAdapter2->check($twofactorAdapter2->getCode()));
     $this->assertNotEquals($twofactorAdapter2->getCode(), $twofactorAdapter->getCode());
 }