public function canMatch($pattern) { return Json::isValidPattern($pattern); }
/** * @dataProvider negativePatterns */ public function test_negative_can_match($pattern) { $this->assertFalse($this->matcher->canMatch($pattern)); }