@Test void retrieveResourceIdResolverBeanName_resourceIdResolverBeanNotYetRegistered_resourceIdResolverBeanIsRegistered() { DefaultListableBeanFactory registry = new DefaultListableBeanFactory(); GlobalBeanDefinitionUtils.retrieveResourceIdResolverBeanName(registry); assertThat(registry.getBeanNamesForType(ResourceIdResolver.class).length) .isEqualTo(1); }
@SuppressWarnings("SameReturnValue") public static String retrieveResourceIdResolverBeanName( BeanDefinitionRegistry registry) { registerResourceIdResolverBeanIfNeeded(registry); return RESOURCE_ID_RESOLVER_BEAN_NAME; }
GlobalBeanDefinitionUtils { @SuppressWarnings("SameReturnValue") public static String retrieveResourceIdResolverBeanName( BeanDefinitionRegistry registry) { registerResourceIdResolverBeanIfNeeded(registry); return RESOURCE_ID_RESOLVER_BEAN_NAME; } }
GlobalBeanDefinitionUtils { @SuppressWarnings("SameReturnValue") public static String retrieveResourceIdResolverBeanName( BeanDefinitionRegistry registry) { registerResourceIdResolverBeanIfNeeded(registry); return RESOURCE_ID_RESOLVER_BEAN_NAME; } private  GlobalBeanDefinitionUtils(); }
GlobalBeanDefinitionUtils { @SuppressWarnings("SameReturnValue") public static String retrieveResourceIdResolverBeanName( BeanDefinitionRegistry registry) { registerResourceIdResolverBeanIfNeeded(registry); return RESOURCE_ID_RESOLVER_BEAN_NAME; } private  GlobalBeanDefinitionUtils(); @SuppressWarnings("SameReturnValue") static String retrieveResourceIdResolverBeanName(
			BeanDefinitionRegistry registry); }
GlobalBeanDefinitionUtils { @SuppressWarnings("SameReturnValue") public static String retrieveResourceIdResolverBeanName( BeanDefinitionRegistry registry) { registerResourceIdResolverBeanIfNeeded(registry); return RESOURCE_ID_RESOLVER_BEAN_NAME; } private  GlobalBeanDefinitionUtils(); @SuppressWarnings("SameReturnValue") static String retrieveResourceIdResolverBeanName(
			BeanDefinitionRegistry registry); static final String RESOURCE_ID_RESOLVER_BEAN_NAME; }