public function testWithWrongConfig() { $service = new Service(); $service->register($this->container, new SampleConfig()); }