/** * @return void */ public function testSendMailContainsAutoHtml() { $mailTransfer = new MailTransfer(); $mailTransfer->setAutoHtml(true); $this->mandrillMock->messages->expects($this->once())->method('sendTemplate')->with($this->anything(), $this->anything(), $this->arrayContainsKeyEqualTo('auto_html', true), $this->anything(), $this->anything(), $this->anything()); $this->mailSender->sendMail($mailTransfer); }