Duration getLockAtLeastFor(AnnotationData annotation) {
        return getValue(
                annotation.getLockAtLeastFor(),
                annotation.getLockAtLeastForString(),
                this.defaultLockAtLeastFor,
                "lockAtLeastForString");
    }
@Test
    public void shoulFailOnNegativeLockAtMostFor() throws NoSuchMethodException {
        noopResolver();
        SpringLockConfigurationExtractor.AnnotationData annotation =
                getAnnotation("annotatedMethodWithNegativeGracePeriod");
        assertThatThrownBy(() -> extractor.getLockAtLeastFor(annotation)).isInstanceOf(IllegalArgumentException.class);
    }