@Test public void malformedConfiguredCapacity() throws Exception { LruCacheProvider provider = createProvider("foo", "adfdf", 10); assertEquals(10, getCache(provider, "foo").capacity); }
@Test public void configuredCapacity() throws Exception { LruCacheProvider provider = createProvider("foo", "100", 10); assertEquals(100, getCache(provider, "foo").capacity); }
@Test public void missingConfiguredCapacity() throws Exception { LruCacheProvider provider = createProvider("foo", "100", 10); assertEquals(10, getCache(provider, "bar").capacity); }
@Test public void defaultCapacityForNamedCache() throws Exception { LruCacheProvider provider = new LruCacheProvider(10); assertEquals(10, getCache(provider, "foo").capacity); }
@Test public void malformedConfiguredCapacity() throws Exception { LruCacheProvider provider = createProvider("foo", "adfdf", 10); assertEquals(10, getCache(provider, "foo").capacity); }
@Test public void defaultCapacityForNamedCache() throws Exception { LruCacheProvider provider = new LruCacheProvider(10); assertEquals(10, getCache(provider, "foo").capacity); }
@Test public void malformedConfiguredCapacity() throws Exception { LruCacheProvider provider = createProvider("foo", "adfdf", 10); assertEquals(10, getCache(provider, "foo").capacity); }
@Test public void defaultCapacityForNamedCache() throws Exception { LruCacheProvider provider = new LruCacheProvider(10); assertEquals(10, getCache(provider, "foo").capacity); }
@Test public void configuredCapacity() throws Exception { LruCacheProvider provider = createProvider("foo", "100", 10); assertEquals(100, getCache(provider, "foo").capacity); }
@Test public void malformedConfiguredCapacity() throws Exception { LruCacheProvider provider = createProvider("foo", "adfdf", 10); assertEquals(10, getCache(provider, "foo").capacity); }
@Test public void configuredCapacity() throws Exception { LruCacheProvider provider = createProvider("foo", "100", 10); assertEquals(100, getCache(provider, "foo").capacity); }
@Test public void missingConfiguredCapacity() throws Exception { LruCacheProvider provider = createProvider("foo", "100", 10); assertEquals(10, getCache(provider, "bar").capacity); }
@Test public void defaultCapacityForNamedCache() throws Exception { LruCacheProvider provider = new LruCacheProvider(10); assertEquals(10, getCache(provider, "foo").capacity); }
@Test public void malformedConfiguredCapacity() throws Exception { LruCacheProvider provider = createProvider("foo", "adfdf", 10); assertEquals(10, getCache(provider, "foo").capacity); }
@Test public void missingConfiguredCapacity() throws Exception { LruCacheProvider provider = createProvider("foo", "100", 10); assertEquals(10, getCache(provider, "bar").capacity); }