public function testGetConfigValueWithInValidKey() { $mockConfigValues = ["key1" => "val2"]; $path = $this->getMockPath(); $mockConfigFileName = "mockConfigFile"; $this->saveMockConfig($path . "/{$mockConfigFileName}.php", $mockConfigValues); $this->config->setConfigRoot($path); $val1 = $this->config->get("{$mockConfigFileName}-invalid.key1"); $this->assertSame(null, $val1); }