@Test public void cardinalityIsPerAnnotationNotInvocation() {

  Traced traced = traced(1.0f, 0, true);
  declarativeSampler.sample(traced);
  declarativeSampler.sample(traced);
  declarativeSampler.sample(traced);
  assertThat(declarativeSampler.methodToSamplers)
    .hasSize(1);
}