Example #1
0
 /**
  * @expectedException Cartalyst\Sentry\Users\PasswordRequiredException
  */
 public function testValidationThrowsPasswordExceptionIfNoneGiven()
 {
     $user = new User();
     $user->email = 'foo';
     $user->validate();
 }