| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class LangTest extends CommonTestClass |
||
| 12 | { |
||
| 13 | public function testOwn(): void |
||
| 14 | { |
||
| 15 | $lib = new XLang(); |
||
| 16 | $lib->setMiLang(new XTrLang()); |
||
| 17 | $this->assertInstanceOf(XTrLang::class, $lib->getMiLang()); |
||
| 18 | $this->assertInstanceOf(Translations::class, $lib->getMiLang()); |
||
| 19 | $this->assertEquals('test data', $lib->getMiLang()->miNoStorage()); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function testNone(): void |
||
| 27 | } |
||
| 28 | } |
||
| 44 |