| 1 | <?php |
||
| 14 | class SitemapProviderTest extends UnitTestCase |
||
| 15 | { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @test |
||
| 19 | */ |
||
| 20 | public function testValidaNameConversion() |
||
| 21 | { |
||
| 22 | $className = 'Tx_ExtensionName_Domain_Model_Old_Name'; |
||
| 23 | $extensionName = SitemapProvider::getExtensionNameByClassName($className); |
||
| 24 | $this->assertSame($extensionName, 'ExtensionName'); |
||
| 25 | } |
||
| 26 | } |
||
| 27 |