public function testGetMapping() { $templater = new Templater(); $html = $templater->getTemplate("envios", array("CONTENIDO" => "Hello Test")); echo $html; $this->assertNotNull($html); }
public function sendTemplate($para, $nombrePara, $from, $nombreFrom, $asunto, $template = "generic", $params = array()) { $templater = new Templater(); $html = $templater->getTemplate($template, $params); $this->isHTML(true); return $this->send($para, $nombrePara, $from, $nombreFrom, $asunto, $html); }