Class org.springframework.jmx.export.annotation.EnableMBeanExportConfigurationTests

8

tests

0

failures

0

ignored

0.242s

duration

100%

successful

Tests

Test Duration Result
testComponentScan 0.040s passed
testLazyAssembling 0.049s passed
testLazyNaming 0.021s passed
testOnlyTargetClassIsExposed 0.045s passed
testPackagePrivateClassExtensionCanBeExposed 0.024s passed
testPackagePrivateExtensionCantBeExposed 0.021s passed
testPackagePrivateImplementationCantBeExposed 0.020s passed
testPlaceholderBased 0.022s passed

Standard output

16:45:56.350 [Test worker] WARN  org.springframework.context.annotation.ConfigurationClassEnhancer - @Bean method LazyAssemblingConfiguration.ppc is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method's declaring @Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details.