generator.server.springboot.cache.ehcache.test.CacheConfigurationTest.mustache Maven / Gradle / Ivy
package {{packageName}}.wire.cache.infrastructure.secondary;
import static org.mockito.Mockito.*;
import javax.cache.Cache;
import javax.cache.CacheManager;
import javax.cache.configuration.Configuration;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
import {{packageName}}.UnitTest;
@UnitTest
@ExtendWith(MockitoExtension.class)
class CacheConfigurationTest {
private static final CacheConfiguration cacheConfiguration = new CacheConfiguration(new EhcacheProperties());
@Mock
private CacheManager cm;
@Mock
private Cache