| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | protected function applyNormalization($urlInput, array $removeKeys, $urlExpectedOutput) |
||
| 32 | { |
||
| 33 | $url = Url::createFromString($urlInput); |
||
| 34 | $callbackUrlMatcher = new RemoveQueryParameterUrlNormalizer($removeKeys); |
||
| 35 | $url = $callbackUrlMatcher->normalize($url); |
||
| 36 | |||
| 37 | $this->assertEquals($urlExpectedOutput, $url->__toString()); |
||
| 38 | } |
||
| 39 | } |