Ejemplo n.º 1
0
 /**
  * @return void
  */
 public function testSendMailContainsReturnPathDomain()
 {
     $mailTransfer = new MailTransfer();
     $mailTransfer->setReturnPathDomain('ReturnPathDomain');
     $this->mandrillMock->messages->expects($this->once())->method('sendTemplate')->with($this->anything(), $this->anything(), $this->arrayContainsKeyEqualTo('return_path_domain', 'ReturnPathDomain'), $this->anything(), $this->anything(), $this->anything());
     $this->mailSender->sendMail($mailTransfer);
 }