function it_knows_when_services_are_defined($service) { $this->set('some_service', $service); $this->has('some_service')->shouldReturn(true); }