| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function testNormalize() |
||
| 18 | { |
||
| 19 | $normalizer = new RegexNormalizer(); |
||
| 20 | $matcher = new RegexMatcherStub('/^Foo(.*)/(.*)/', 2); |
||
| 21 | |||
| 22 | $this->assertEquals( |
||
| 23 | [ |
||
| 24 | 'regex' => '/^Foo(.*)/(.*)/', |
||
| 25 | 'itemNumber' => 2, |
||
| 26 | 'matchedSiteAccess' => null, |
||
| 27 | ], |
||
| 28 | $normalizer->normalize($matcher) |
||
| 29 | ); |
||
| 30 | } |
||
| 31 | |||
| 40 |