コード例 #1
0
 /** @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);
 }
コード例 #2
0
 /** @inheritdoc */
 protected function tearDown()
 {
     $this->deleteConfiguration(static::CONFIG_EXISTING);
     parent::tearDown();
     // TODO: Change the autogenerated stub
 }