function it_should_know_all_registered_tasks(ContainerInterface $container) { $container->getParameter('grumphp.tasks.registered')->willReturn(['phpspec']); $this->getRegisteredTasks()->shouldBe(['phpspec']); }