public function checkBackupCode_codeValid_returnTrue()
{
//Stub the user
$user = $this->createUser();
$user->expects($this->any())->method('isBackupCode')->willReturn(true);
$returnValue = $this->validator->checkCode($user, 'c0de');
$this->assertTrue($returnValue);
}