use of com.instaclustr.esop.impl.hash.HashServiceImpl in project esop by instaclustr.
the class HashServiceTest method testHashing.
@Test
public void testHashing() throws Exception {
final File f = File.createTempFile("hashingTest", ".tmp");
Files.write(f.toPath(), "".getBytes());
final HashService hashService = new HashServiceImpl(new HashSpec());
hashService.verify(f.toPath(), hashService.hash(f.toPath()));
}
Aggregations