public function getConfig($key)
{
$this->locate($key);
return $this->cache[$key]['config'];
}
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)); }