@Test
public void haveFilesBeenChangedTestFilesSame(@Mocked MessageDigest mockedMessageDigest) throws Exception {

    KeyRefresher keyRefresher = new KeyRefresher("", "", mockedTrustStore, mockedKeyManagerProxy, mockedTrustManagerProxy);
    byte[] stuff = new byte[md.getDigestLength()];
    new Expectations() {{
       mockedMessageDigest.digest(); result = stuff;
    }};
    assertFalse(keyRefresher.haveFilesBeenChanged(classLoader.getResource("testFile").getPath(), stuff));
}