private function assertHasDefinition($id) { $this->assertTrue($this->container->hasDefinition($id), 'Service "' . $id . '" must be defined.'); }