Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function testNormalization() |
||
17 | { |
||
18 | $normalizer = new MapNormalizer(); |
||
19 | |||
20 | $matcher = $this->createMock(MapMatcher::class); |
||
21 | $matcher->method('getMapKey')->willReturn('foo'); |
||
22 | |||
23 | $this->assertEquals( |
||
24 | [ |
||
25 | 'key' => 'foo', |
||
26 | 'map' => [], |
||
27 | 'reverseMap' => [], |
||
28 | ], |
||
29 | $normalizer->normalize($matcher) |
||
30 | ); |
||
31 | } |
||
32 | |||
41 |