public function setBody($body) { $this->getMailer()->Body = $this->wrapLayout($body); return $this; }
public function testLayoutWithoutWrapper() { $mail = new Mail(); $mail->layout = false; $mail->setBody('CONTENT'); $this->assertEquals('CONTENT', $mail->mailer->Body); }