@Test public void toSampler_fallback() {

  Sampler withFallback =
    declarativeSampler.toSampler(traced(0.0f, 0, false), Sampler.ALWAYS_SAMPLE);
  assertThat(withFallback.isSampled(0L))
    .isTrue();
}