Пример #1
0
 /**
  * @expectedException SugiPHP\Auth2\Exception\InvalidArgumentException
  */
 public function testWithStateTrhowsExceptionIfTheValueIsNotSet()
 {
     $user = new User(2, 'demo', '*****@*****.**', 1, 'passw0rd');
     $user->setState(false);
 }