public function testCheckingResetPasswordCode()
 {
     User::setHasher($hasher = m::mock('Cartalyst\\Sentry\\Hashing\\HasherInterface'));
     $user = new User();
     // Check the hash
     $user->reset_password_code = 'reset_code';
     $this->assertTrue($user->checkResetPasswordCode('reset_code'));
     $this->assertFalse($user->checkResetPasswordCode('not_the_reset_code'));
 }