View Javadoc

1   package com.atlassian.cache.ehcache;
2   
3   import com.atlassian.cache.AbstractCacheEagerTest;
4   
5   import org.junit.Before;
6   
7   /**
8    * Test the delegated eager Cache
9    *
10   * @since 2.0
11   */
12  public class DelegatingCacheEagerTest extends AbstractCacheEagerTest
13  {
14      @Before
15      public void setUp() throws Exception
16      {
17          factory = new EhCacheManager();
18          // Make sure we are not getting old caches for our test.
19          ((EhCacheManager) factory).getEh().removalAll();
20      }
21  }