public function testGetEtag() { $this->testCreateFile(); $node = $this->_controller->stat($this->_basePath . '/PHPUNIT/phpunit.txt'); $etag = $this->_controller->getETag($this->_basePath . '/PHPUNIT/phpunit.txt'); $this->assertEquals($node->hash, $etag); }