public function testGetLegacyPath()
{
$expectedPath = getcwd() . '/engine/Shopware/Plugins/Local/Frontend/' . self::PLUGIN_NAME . '/';
$shopwareRootDetectorStub = $this->getMock(ShopwareRootDetector::class);
$shopwareRootDetectorStub->method('isRoot')->willReturn(true);
$legacyOutputDirectoryProvider = new LegacyOutputDirectoryProvider($shopwareRootDetectorStub, self::PLUGIN_NAME, LegacyOutputDirectoryProvider::FRONTEND_NAMESPACE);
$path = $legacyOutputDirectoryProvider->getPath();
$this->assertEquals($expectedPath, $path);
}