/** * Ensures that __construct() works as expected for valid input * * @return void */ public function testConstructValid() { try { $v = new Zend_Auth_Adapter_Http_Resolver_File($this->_validPath); $this->assertEquals($this->_validPath, $v->getFile()); } catch (Zend_Auth_Adapter_Http_Resolver_Exception $e) { $this->fail('Constructor threw exception on valid file path'); } }
/** * Ensures that setFile() works as expected for valid input * * @return void */ public function testSetFileValid() { $this->_resolver->setFile($this->_validPath); $this->assertEquals($this->_validPath, $this->_resolver->getFile()); }