/** * Test the Hasher throws an exception when a file isn't found * @expectedException \Heyday\HashPath\Exception */ public function testGetFileHashThrows() { $hasher = new Hasher(); $hasher->getFileHash(__DIR__ . '/non-existent-file'); }
/** * Test the Hasher throws an exception when a file isn't found * @expectedException \Heyday\HashPath\Exception */ public function testGetFileHashThrows() { $hasher = new Hasher(); $hasher->getFileHash(__DIR__ . '/non-existent-file'); }