#vulnerable code 
                             @Test
	void shouldAutoEnableCaching() {
		AnnotationConfigApplicationContext context = setup("");
		assertThat(context.getBeansOfType(CacheManager.class)).isNotEmpty();
		assertThat(context.getBeansOfType(CacheManager.class).get("cacheManager"))
				.isNotInstanceOf(NoOpCacheManager.class);
	} 
                            #location 5 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                             @Test
	void shouldAutoEnableCaching() {
		ApplicationContextRunner contextRunner = baseApplicationRunner();

		contextRunner.run(context -> {
			assertThat(context.getBeansOfType(CacheManager.class)).hasSize(1);
			assertThat(((CacheManager) context.getBean("loadBalancerCacheManager"))
					.getCacheNames()).hasSize(1);
			assertThat(context.getBean("loadBalancerCacheManager"))
					.isInstanceOf(CaffeineCacheManager.class);
			assertThat(((CacheManager) context.getBean("loadBalancerCacheManager"))
					.getCacheNames()).contains("CachingServiceInstanceListSupplierCache");
		});
	}