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