| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | public function testGetType() |
||
| 32 | { |
||
| 33 | $typeProvider = new TypeProvider(); |
||
| 34 | |||
| 35 | $this->assertEquals('plan-entrainement-10km', $typeProvider->getType('plan-entrainement-10km')); |
||
| 36 | $this->assertEquals('plan-entrainement-semi-marathon', $typeProvider->getType('plan-entrainement-semi-marathon')); |
||
| 37 | $this->assertEquals('plan-entrainement-marathon', $typeProvider->getType('plan-entrainement-marathon')); |
||
| 38 | |||
| 39 | $this->assertEquals(null, $typeProvider->getType('fake')); |
||
| 40 | } |
||
| 41 | } |
||
| 42 |