@Test public void should_include_exclude_packages_in_calculation() { CodeBaseFingerprint fp1 = CodeBaseFingerprint.builder(config).build(); CodeBaseFingerprint fp2 = CodeBaseFingerprint.builder( config.toBuilder() .excludePackages(config.getExcludePackages() + "; some.more.packages") .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);  }