Duration getLockAtMostFor(AnnotationData annotation) {
        return getValue(
                annotation.getLockAtMostFor(),
                annotation.getLockAtMostForString(),
                this.defaultLockAtMostFor,
                "lockAtMostForString");
    }
@Test
    public void shouldLockTimeFromAnnotationWithString() throws NoSuchMethodException {
        mockResolvedValue("${placeholder}", "5");
        SpringLockConfigurationExtractor.AnnotationData annotation = getAnnotation("annotatedMethodWithString");
        TemporalAmount lockAtMostFor = extractor.getLockAtMostFor(annotation);
        assertThat(lockAtMostFor).isEqualTo(Duration.of(5, MILLIS));
    }