BaggagePropagation implements Propagation<K> { @Override public List<K> keys() { return delegate.keys(); } BaggagePropagation(Propagation<K> delegate); static FactoryBuilder newFactoryBuilder(Propagation.Factory delegate); @Override List<K> keys(); static List<String> allKeyNames(Propagation<String> propagation); @Override Injector<R> injector(Setter<R, K> setter); @Override Extractor<R> extractor(Getter<R, K> getter);  }
@Test public void keysDontIncludeBaggage() { assertThat(factory.get().keys()) .isEqualTo(B3Propagation.B3_STRING.keys()); }