protected function setUp()
 {
     $this->templateName = 'test.html.twig';
     $this->sender = '*****@*****.**';
     $this->prophet = new Prophet();
     $this->mailer = $this->prophet->prophesize('\\Swift_Mailer');
     $this->templating = $this->prophet->prophesize('\\Twig_Environment');
     $this->listener = new SendConfirmationMailListener($this->mailer->reveal(), $this->templating->reveal(), $this->templateName, $this->sender);
 }
 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());
 }
 protected function setUp()
 {
     $this->mailer = $this->prophesize(\Swift_Mailer::class);
     $this->fixture = new SwiftMailer($this->mailer->reveal());
 }