[]]); $res = $builder->buildForHost('www.example.com'); $this->assertInstanceOf(SiteConfig::class, $res); } public function testItReturnsFalseOnAHostThatDoesNotExist() { $builder = new ArraySiteConfigBuilder(['anotherexample.com' => []]); $res = $builder->buildForHost('example.com'); $this->assertfalse($res); } }