@Test
public void haveFilesBeenChangedTestFilesMultiple() throws Exception {

    byte[] checksum = new byte[md.getDigestLength()];
    KeyRefresher keyRefresher = new KeyRefresher("", "", mockedTrustStore, mockedKeyManagerProxy, mockedTrustManagerProxy);
    // first call is changed because we don't have checksum
    assertTrue(keyRefresher.haveFilesBeenChanged(classLoader.getResource("testFile").getPath(), checksum));
    // second call should be no change
    assertFalse(keyRefresher.haveFilesBeenChanged(classLoader.getResource("testFile").getPath(), checksum));
    // now let's modify our contents of the checksum
    checksum[0] = 0;
    checksum[1] = 1;
    checksum[2] = 2;
    assertTrue(keyRefresher.haveFilesBeenChanged(classLoader.getResource("testFile").getPath(), checksum));
}