@Test public void should_include_last_modified_in_calculation() { CodeBaseFingerprint fp1 = CodeBaseFingerprint.builder(config).record(files[1]).build(); long now = 1492881351977L; files[1].setLastModified(now + 10); CodeBaseFingerprint fp2 = CodeBaseFingerprint.builder(config).record(files[1]).build(); assertThat(files[1].lastModified(), not(is(now))); assertThat(fp2, not(equalTo(fp1))); }
public static Builder builder(AgentConfig config) { return new Builder(config); }
CodeBaseFingerprint { public static Builder builder(AgentConfig config) { return new Builder(config); } }
CodeBaseFingerprint { public static Builder builder(AgentConfig config) { return new Builder(config); }  }
CodeBaseFingerprint { public static Builder builder(AgentConfig config) { return new Builder(config); }  static Builder builder(AgentConfig config); }
CodeBaseFingerprint { public static Builder builder(AgentConfig config) { return new Builder(config); }  static Builder builder(AgentConfig config);  }