public function test_it_does_not_locate_non_existing_config()
 {
     $key = 'my-non-existing-config';
     static::assertFalse($this->SUT->locate($key));
     static::assertNull($this->SUT->getPath($key));
     static::assertSame([], $this->SUT->getConfig($key));
 }
 private function setupConfig()
 {
     $builder = new ConfigBuilder();
     $this->config = $builder->build($this->configLocator->getConfig(self::EXTRA_KEY), $this->configLocator->getPath(self::EXTRA_KEY));
     if (count($builder->getWarnings()) > 0) {
         $this->io->writeError('<error>Invalid config for composer-changelogs plugin:</error>');
         foreach ($builder->getWarnings() as $warning) {
             $this->io->write('    ' . $warning);
         }
     }
 }