Esempio n. 1
0
 public function testGetSetViewPath()
 {
     $o = new ControllerMapT_underTest_getViewPath(__FILE__, '.*');
     $oView = new ViewA_underTest_getViewPath();
     $o->setView($oView);
     $this->assertEquals(ViewA_underTest_getViewPath::class, $o->getViewPath());
 }
Esempio n. 2
0
 public function testSetViewPath()
 {
     $o = new ControllerMapT_underTest_getViewPath(__FILE__, '.*');
     $o->setView(NullView::class);
     $this->assertInstanceOf(ViewA::class, $o->getView());
     $this->assertInstanceOf(NullView::class, $o->getView());
 }