@Test public void testEapContextDetectionEnumWithoutExpectedUrl() throws Exception { KModuleBeanFactoryPostProcessor postProcessor = new KModuleBeanFactoryPostProcessor(); boolean result = postProcessor.isEapSpecificUrl(new URL("file: Assertions.assertThat(result).as("EAP-specific URL should _not_ have been found!").isFalse(); }
boolean isEapSpecificUrl(URL url) { return url.toString().endsWith("service-loader-resources/"); }
KModuleBeanFactoryPostProcessor implements BeanFactoryPostProcessor, ApplicationContextAware { boolean isEapSpecificUrl(URL url) { return url.toString().endsWith("service-loader-resources/"); } }
KModuleBeanFactoryPostProcessor implements BeanFactoryPostProcessor, ApplicationContextAware { boolean isEapSpecificUrl(URL url) { return url.toString().endsWith("service-loader-resources/"); } KModuleBeanFactoryPostProcessor();  KModuleBeanFactoryPostProcessor(URL kModuleRootUrl, ApplicationContext context);  KModuleBeanFactoryPostProcessor(URL kModuleRootUrl); }
KModuleBeanFactoryPostProcessor implements BeanFactoryPostProcessor, ApplicationContextAware { boolean isEapSpecificUrl(URL url) { return url.toString().endsWith("service-loader-resources/"); } KModuleBeanFactoryPostProcessor();  KModuleBeanFactoryPostProcessor(URL kModuleRootUrl, ApplicationContext context);  KModuleBeanFactoryPostProcessor(URL kModuleRootUrl); URL getkModuleRootUrl(); void setReleaseId(ReleaseId releaseId); @Override void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory); @Override void setApplicationContext(ApplicationContext applicationContext); }
KModuleBeanFactoryPostProcessor implements BeanFactoryPostProcessor, ApplicationContextAware { boolean isEapSpecificUrl(URL url) { return url.toString().endsWith("service-loader-resources/"); } KModuleBeanFactoryPostProcessor();  KModuleBeanFactoryPostProcessor(URL kModuleRootUrl, ApplicationContext context);  KModuleBeanFactoryPostProcessor(URL kModuleRootUrl); URL getkModuleRootUrl(); void setReleaseId(ReleaseId releaseId); @Override void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory); @Override void setApplicationContext(ApplicationContext applicationContext);  }