Пример #1
0
 static function spec()
 {
     $p = parent::spec();
     unset($p['pattern']);
     return $p;
 }
Пример #2
0
 function testInvalidEmptyMode()
 {
     $check = new String_();
     $this->setExpectedException(\InvalidArgumentException::class);
     $check->setEmptyMode('nope');
 }