loadConfig()); $this->assertSame([ "127.0.0.1:53", "[2001:4860:4860::8888]:53", ], $result->getNameservers()); $this->assertSame(5000, $result->getTimeout()); $this->assertSame(3, $result->getAttempts()); } public function testNoDefaultsOnConfNotFound() { $this->expectException(ConfigException::class); wait((new UnixConfigLoader(__DIR__ . "/data/non-existent.conf"))->loadConfig()); } }