DATAREDIS-1118 - Polishing.

Switch tests to JUnit Jupiter.

Original Pull Request: #522
This commit is contained in:
Christoph Strobl
2020-04-07 10:13:11 +02:00
parent 0a8d431570
commit 86b3f45783
2 changed files with 24 additions and 20 deletions

View File

@@ -463,7 +463,7 @@ public class RedisCacheManager extends AbstractTransactionSupportingCacheManager
*/
public RedisCacheManager build() {
Assert.notNull(cacheWriter, "CacheWriter must not be null!");
Assert.state(cacheWriter != null, "CacheWriter must not be null! You can provide one via 'RedisCacheManagerBuilder#cacheWriter(RedisCacheWriter)'.");
RedisCacheManager cm = new RedisCacheManager(cacheWriter, defaultCacheConfiguration, initialCaches,
allowInFlightCacheCreation);