public function testGetRequiredThrowsException() { $this->expectException(\RuntimeException::class); $this->config->getRequired('someEmptyValue'); }