public function testSetTemplateBroken() { $o = new testView(); $t = ''; try { $o->setTemplate($t); } catch (\Exception $e) { $this->assertInstanceOf(Exception::class, $e); $this->assertInstanceOf(ExceptionPath::class, $e); } $this->assertEmpty($o->getTemplate()); }
public function testGetTemplateEmpty() { $o = new testView(); $path = $o->getTemplate(); $this->assertEmpty($path); }