/** * @expectedException View\FileExtensionViewException */ public function testViewLoadExceptionExt() { $this->object->setExt(''); $this->object->load('index'); }