示例#1
0
	public function testIdenticalTo() {
		$file1 = new \Core\Filestore\Backends\FileRemote($this->_testfile);
		$file2 = \Core\Filestore\Factory::File($this->_testfile);
		$file3 = new \Core\Filestore\Backends\FileRemote($this->_testimage);

		$this->assertTrue($file1->identicalTo($file2));
		$this->assertFalse($file1->identicalTo($file3));
	}