Beispiel #1
0
 /**
  * @return void
  */
 public function testSendMailIsCalledWithRightAsync()
 {
     $mailTransfer = new MailTransfer();
     $mailTransfer->setAsync(true);
     $this->mandrillMock->messages->expects($this->once())->method('sendTemplate')->with($this->anything(), $this->anything(), $this->anything(), $this->equalTo(true), $this->anything(), $this->anything());
     $this->mailSender->sendMail($mailTransfer);
 }