View Javadoc

1   package com.atlassian.cache.ehcache;
2   
3   import com.atlassian.cache.AbstractCacheLazyTest;
4   import org.junit.Before;
5   import org.junit.Ignore;
6   import org.junit.Test;
7   
8   /**
9    * Test the Delegated Lazy Cache
10   *
11   * @since 2.0
12   */
13  public class DelegatingCacheLazyTest extends AbstractCacheLazyTest
14  {
15      @Before
16      public void setUp() throws Exception
17      {
18          factory = new EhCacheManager();
19          // Make sure we are not getting old caches for our test.
20          ((EhCacheManager) factory).getEh().removalAll();
21      }
22  
23      @Override
24      @Test
25      @Ignore ("EHCache handles null entries, so ignore this test")
26      public void testNullHandling() throws Exception
27      {
28      }
29  }