Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function testUnsupportedNormalizerThrowsException($subject) |
||
30 | { |
||
31 | $normalizer = $this->createNormalizer(); |
||
32 | self::assertFalse($normalizer->supports($subject)); |
||
33 | |||
34 | try { |
||
35 | $normalizer->normalize($subject); |
||
36 | } catch (DestinationException $exception) { |
||
37 | return; |
||
38 | } |
||
39 | |||
40 | self::fail('DestinationException is not thrown on invalid normalization'); |
||
41 | } |
||
42 | |||
50 |