|
|
@ -816,8 +816,8 @@ public class WebMvcAutoConfigurationTests {
|
|
|
|
.run((context) -> {
|
|
|
|
.run((context) -> {
|
|
|
|
ContentNegotiationManager manager = context
|
|
|
|
ContentNegotiationManager manager = context
|
|
|
|
.getBean(ContentNegotiationManager.class);
|
|
|
|
.getBean(ContentNegotiationManager.class);
|
|
|
|
assertThat(manager.getStrategies()).anyMatch(
|
|
|
|
assertThat(manager.getStrategies()).anyMatch((
|
|
|
|
strategy -> WebMvcAutoConfiguration.OptionalPathExtensionContentNegotiationStrategy.class
|
|
|
|
strategy) -> WebMvcAutoConfiguration.OptionalPathExtensionContentNegotiationStrategy.class
|
|
|
|
.isAssignableFrom(strategy.getClass()));
|
|
|
|
.isAssignableFrom(strategy.getClass()));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|