@Test
@Interval(value = "10")
public void shouldResolveStatic() {

  assertThat(intervalConverter.toMillis(new Object() {}.getClass().getEnclosingMethod().getAnnotation(Interval.class)))
    .isEqualTo(10);
}