/** * @dataProvider hostMatchesDataProvider */ public function testHostMatches($pattern, $host, $matches) { $this->assertSame($matches, OriginMatcher::hostMatches($pattern, $host)); }
/** * @dataProvider hostMatchesDataProvider */ public function testHostMatches($pattern, $host, $matches) { $this->assertSame($matches, OriginMatcher::hostMatches($pattern, $host)); }