protected function setUp() { $this->kernel = $this->prophesize(KernelInterface::class); $this->twig = $this->prophesize(\Twig_Environment::class); $this->fixture = new MailDefinitionProviderSymfony($this->kernel->reveal(), $this->twig->reveal()); }