MongoDBTracing { public static Builder newBuilder(final Tracing tracing) { return new Builder(tracing); } MongoDBTracing(Builder builder); static MongoDBTracing create(final Tracing tracing); static Builder newBuilder(final Tracing tracing); CommandListener commandListener();  }
@Test public void newBuilder_setsValuesCorrectly() { MongoDBTracing mongoDBTracing = MongoDBTracing.newBuilder(tracing).build(); assertThat(mongoDBTracing).extracting("tracing").isEqualTo(tracing); }