public function testSetMainTemplateBroken() { $o = new testView(); $t = ''; try { $o->setMainTemplate($t); } catch (\Exception $e) { $this->assertInstanceOf(Exception::class, $e); $this->assertInstanceOf(ExceptionPath::class, $e); } $this->assertEmpty($o->getMainTemplate()); }
public function testGetMainTemplateEmpty() { $o = new testView(); $path = $o->getMainTemplate(); $this->assertEmpty($path); }