@Test public void should_include_method_visibility_in_calculation() { CodeBaseFingerprint fp1 = CodeBaseFingerprint.builder(config.toBuilder().methodVisibility("public").build()).build(); CodeBaseFingerprint fp2 = CodeBaseFingerprint.builder(config.toBuilder().methodVisibility("private").build()).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);  }