/** * @test * @dataProvider findValueToMatchProvider * @param string $routePath * @param string $uriPattern * @param string $splitString * @param string $expectedResult * @return void */ public function findValueToMatchTests($routePath, $uriPattern, $splitString, $expectedResult) { $this->identityRoutePart->setUriPattern($uriPattern); $this->identityRoutePart->setSplitString($splitString); $this->assertSame($expectedResult, $this->identityRoutePart->_call('findValueToMatch', $routePath)); }