|
@@ -195,8 +195,6 @@ class CockpitFreshnessSemanticsControllerTest {
|
|
|
&& !method.isAnnotationPresent(org.springframework.web.bind.annotation.DeleteMapping.class));
|
|
&& !method.isAnnotationPresent(org.springframework.web.bind.annotation.DeleteMapping.class));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- assertTrue(Arrays.stream(CockpitFreshnessController.class.getDeclaredMethods())
|
|
|
|
|
- .filter(method -> method.isAnnotationPresent(org.springframework.web.bind.annotation.GetMapping.class))
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
private void assertTrue(boolean condition) {
|
|
private void assertTrue(boolean condition) {
|