function it_supports_custom_service_configurators() { $this->addConfigurator(function ($c) { $c->setParam('name', 'Jim'); }); $this->configure(); $this->getParam('name')->shouldReturn('Jim'); }