load() public method

Loads all file providers based on the --legacy option.
public load ( ) : Shopware\PluginCreator\Services\TemplateFileProvider\FileProviderInterface[]
return Shopware\PluginCreator\Services\TemplateFileProvider\FileProviderInterface[]
 public function testCurrentLoad()
 {
     $expectedProviderAmount = 11;
     $isLegacy = false;
     $loader = new LegacyOptionFileProviderLoader($isLegacy);
     $result = $loader->load();
     $this->assertEquals($expectedProviderAmount, count($result));
 }