public function load() { if ($this->isLegacy) { return $this->getLegacyProvider(); } return $this->getCurrentProvider(); }
public function testCurrentLoad() { $expectedProviderAmount = 11; $isLegacy = false; $loader = new LegacyOptionFileProviderLoader($isLegacy); $result = $loader->load(); $this->assertEquals($expectedProviderAmount, count($result)); }