public it_should_know_task_configuration ( Symfony\Component\DependencyInjection\ContainerInterface $container ) | ||
$container | Symfony\Component\DependencyInjection\ContainerInterface |
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');
}