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