| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function testGetText () : void |
||
| 16 | { |
||
| 17 | $expectedString = "This is a test entry!"; |
||
| 18 | $actualString = i18n::getInstance()->getText( "en_US", i18nTest::class, "This_Is_A_Test_Entry" ); |
||
| 19 | |||
| 20 | $this->assertNotNull( $actualString ); |
||
| 21 | $this->assertEquals( $expectedString, $actualString ); |
||
| 22 | } |
||
| 24 |