Esempio n. 1
0
 public function testSetRole_WithNotAllowedRole()
 {
     $value = uniqid('role');
     $this->setExpectedException('InvalidArgumentException', sprintf('Role %s not allowed!', $value));
     $this->testedObject->setRole($value);
 }