| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 31 | public function testIterateLanguage(){ |
||
| 32 | foreach(self::LANGUAGES as $languageInterface){ |
||
| 33 | $reflectionClass = new ReflectionClass($languageInterface); |
||
| 34 | $lang = $reflectionClass->newInstance(); |
||
| 35 | |||
| 36 | foreach($lang as $key => $string){ |
||
| 37 | $this->assertEquals($lang->string($key, $languageInterface), $lang->{$key}($languageInterface)); |
||
| 38 | } |
||
| 39 | } |
||
| 40 | } |
||
| 41 | |||
| 43 |