@Test public void should_be_insensitive_to_file_order() { CodeBaseFingerprint fp1 = CodeBaseFingerprint.builder(config).record(files[1]).record(files[2]).build(); CodeBaseFingerprint fp2 = CodeBaseFingerprint.builder(config).record(files[2]).record(files[1]).build(); assertThat(fp1, equalTo(fp2)); assertThat(fp2, 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);  }