/** @inheritdoc */ protected function setUp() { parent::setUp(); $provider = $this->getMockBuilder(FilesystemProvider::class)->getMock(); $provider->method('read')->willReturnOnConsecutiveCalls(['restaurants' => ['Na Urale' => ['display' => true]]], ['restaurants' => ['Na Urale' => ['display' => true]]], ['restaurants' => ['Na Urale' => ['display' => false]]]); $this->configuration = new Configuration(); $this->configuration->setProvider($provider); }
/** @inheritdoc */ protected function setUp() { parent::setUp(); $this->filesystemProvider = $this->container->get('net_tomas_kadlec_lunch_guy_base.service_configuration.filesystem_provider'); $this->createConfiguration(static::CONFIG_EXISTING); }