function it_knows_to_stop_on_failure(ContainerInterface $container) { $container->getParameter('stop_on_failure')->willReturn(true); $this->stopOnFailure()->shouldReturn(true); }