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