public function testViewConstructor() { $this->assertInstanceOf('Pop\\Mvc\\View', new View('some template')); $this->assertInstanceOf('Pop\\Mvc\\View', View::factory(__DIR__ . '/RouterTest.php', array())); }