@Test public void should_include_length_in_calculation() { CodeBaseFingerprint fp1 = CodeBaseFingerprint.builder(config).record(files[1]).build(); writeFile(files[1], "foobar"); CodeBaseFingerprint fp2 = CodeBaseFingerprint.builder(config).record(files[1]).build(); 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);  }