function it_provides_a_way_to_remove_service_by_key($service) { $this->set('collection1.some_service', $service); $this->remove('collection1.some_service'); $this->shouldThrow()->duringGet('collection1.some_service'); }