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