Add tests for cache service
[nonrtric/plt/rappmanager.git] / rapp-manager-models / src / test / java / com / oransc / rappmanager / models / cache / BeanTestConfiguration.java
1 package com.oransc.rappmanager.models.cache;
2
3 import org.springframework.boot.test.context.TestConfiguration;
4 import org.springframework.cache.CacheManager;
5 import org.springframework.cache.concurrent.ConcurrentMapCacheManager;
6 import org.springframework.context.annotation.Bean;
7
8 @TestConfiguration
9 class BeanTestConfiguration {
10
11     @Bean
12     public CacheManager cacheManager() {
13         return new ConcurrentMapCacheManager();
14     }
15 }