login() public method

{@inheritDoc}
public login ( Cartalyst\Sentinel\Users\UserInterface $user )
$user Cartalyst\Sentinel\Users\UserInterface
 /**
  * @expectedException \Cartalyst\Sentinel\Checkpoints\ThrottlingException
  */
 public function testFailedLogin()
 {
     $checkpoint = new ThrottleCheckpoint($throttle = m::mock('Cartalyst\\Sentinel\\Throttling\\IlluminateThrottleRepository'));
     $throttle->shouldReceive('globalDelay')->once()->andReturn(10);
     $checkpoint->login(m::mock('Cartalyst\\Sentinel\\Users\\EloquentUser'));
 }