function it_should_know_task_configuration(ContainerInterface $container) { $container->getParameter('grumphp.tasks.configuration')->willReturn(['phpspec' => []]); $this->getTaskConfiguration('phpspec')->shouldReturn([]); $this->shouldThrow(RuntimeException::class)->duringGetTaskConfiguration('phpunit'); }