@DataProvider(value = { "true", "false" }) @Test public void pair_constructor_sets_fields_as_expected_when_pair_is_null(boolean useStaticFactory) { BiPredicateWithTracing instance = (useStaticFactory) ? withTracing(biPredicateMock, (Pair)null) : new BiPredicateWithTracing(biPredicateMock, (Pair)null); assertThat(instance.origBiPredicate).isSameAs(biPredicateMock); assertThat(instance.spanStackForExecution).isNull(); assertThat(instance.mdcContextMapForExecution).isNull(); }
public static <T, U> BiPredicateWithTracing<T, U> withTracing(BiPredicate<T, U> origBiPredicate) { return new BiPredicateWithTracing<>(origBiPredicate); }
BiPredicateWithTracing implements BiPredicate<T, U> { public static <T, U> BiPredicateWithTracing<T, U> withTracing(BiPredicate<T, U> origBiPredicate) { return new BiPredicateWithTracing<>(origBiPredicate); } }
BiPredicateWithTracing implements BiPredicate<T, U> { public static <T, U> BiPredicateWithTracing<T, U> withTracing(BiPredicate<T, U> origBiPredicate) { return new BiPredicateWithTracing<>(origBiPredicate); } BiPredicateWithTracing(BiPredicate<T, U> origBiPredicate);  BiPredicateWithTracing(BiPredicate<T, U> origBiPredicate,
                                  Pair<Deque<Span>, Map<String, String>> originalThreadInfo);  BiPredicateWithTracing(BiPredicate<T, U> origBiPredicate,
                                  Deque<Span> spanStackForExecution,
                                  Map<String, String> mdcContextMapForExecution); }
BiPredicateWithTracing implements BiPredicate<T, U> { public static <T, U> BiPredicateWithTracing<T, U> withTracing(BiPredicate<T, U> origBiPredicate) { return new BiPredicateWithTracing<>(origBiPredicate); } BiPredicateWithTracing(BiPredicate<T, U> origBiPredicate);  BiPredicateWithTracing(BiPredicate<T, U> origBiPredicate,
                                  Pair<Deque<Span>, Map<String, String>> originalThreadInfo);  BiPredicateWithTracing(BiPredicate<T, U> origBiPredicate,
                                  Deque<Span> spanStackForExecution,
                                  Map<String, String> mdcContextMapForExecution); static BiPredicateWithTracing<T, U> withTracing(BiPredicate<T, U> origBiPredicate); static BiPredicateWithTracing<T, U> withTracing(
        BiPredicate<T, U> origBiPredicate,
        Pair<Deque<Span>, Map<String, String>> originalThreadInfo
    ); static BiPredicateWithTracing<T, U> withTracing(BiPredicate<T, U> origBiPredicate,
                                                                  Deque<Span> spanStackForExecution,
                                                                  Map<String, String> mdcContextMapForExecution); @Override boolean test(T t, U u); }
BiPredicateWithTracing implements BiPredicate<T, U> { public static <T, U> BiPredicateWithTracing<T, U> withTracing(BiPredicate<T, U> origBiPredicate) { return new BiPredicateWithTracing<>(origBiPredicate); } BiPredicateWithTracing(BiPredicate<T, U> origBiPredicate);  BiPredicateWithTracing(BiPredicate<T, U> origBiPredicate,
                                  Pair<Deque<Span>, Map<String, String>> originalThreadInfo);  BiPredicateWithTracing(BiPredicate<T, U> origBiPredicate,
                                  Deque<Span> spanStackForExecution,
                                  Map<String, String> mdcContextMapForExecution); static BiPredicateWithTracing<T, U> withTracing(BiPredicate<T, U> origBiPredicate); static BiPredicateWithTracing<T, U> withTracing(
        BiPredicate<T, U> origBiPredicate,
        Pair<Deque<Span>, Map<String, String>> originalThreadInfo
    ); static BiPredicateWithTracing<T, U> withTracing(BiPredicate<T, U> origBiPredicate,
                                                                  Deque<Span> spanStackForExecution,
                                                                  Map<String, String> mdcContextMapForExecution); @Override boolean test(T t, U u);  }