parent
075d5e8d12
commit
c84e09f611
|
@ -199,7 +199,7 @@ public class CacheStatisticsAutoConfigurationTests {
|
||||||
|
|
||||||
private Cache getCache(String cacheName) {
|
private Cache getCache(String cacheName) {
|
||||||
Cache cache = this.cacheManager.getCache(cacheName);
|
Cache cache = this.cacheManager.getCache(cacheName);
|
||||||
Assert.notNull("No cache with name '" + cacheName + "' found.");
|
Assert.notNull(cache, "No cache with name '" + cacheName + "' found.");
|
||||||
return cache;
|
return cache;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue