public function testGetHashFile() { $this->assertSame(false, FileHelper::getFileHash('notexists.jpg')); $this->assertSame('7dff5cc5a1d8f04004b4a0075d3eeeae', FileHelper::getFileHash(__DIR__ . '/../../data/hashfile.txt')); }