/** @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 tearDown() { $this->deleteConfiguration(static::CONFIG_EXISTING); parent::tearDown(); // TODO: Change the autogenerated stub }