source: class HashCheckerTest {
  
    @Test()
    public void testHashing() {
  
target:     try {
      final String test_string = "ColoradoRLA";
      final Instant now = Instant.now();
      final File test_file = File.createTempFile("to_hash-" + now, "txt");
      final FileOutputStream fos = new FileOutputStream(test_file);
      fos.write(test_string.getBytes());
      fos.close();
      assertEquals("F9A25DA7060735572E32FCF72C33EE73476E589F7F02256DAFFB4C618D8F9EA2", 
                   HashChecker.hashFile(test_file));
      assertEquals("F9A25DA7060735572E32FCF72C33EE73476E589F7F02256DAFFB4C618D8F9EA2", 
                   HashChecker.hashFile(test_file.toString()));
      } catch (final IOException e) {
        fail();
      }
    }
  
  }