Search in sources :

Example 1 with MemoryCache

use of org.magic.api.cache.impl.MemoryCache in project MtgDesktopCompanion by nicho92.

the class CacheProviderTests method test.

@Test
public void test() {
    test(new NoCache());
    test(new MemoryCache());
    test(new FileCache());
}
Also used : MemoryCache(org.magic.api.cache.impl.MemoryCache) NoCache(org.magic.api.cache.impl.NoCache) FileCache(org.magic.api.cache.impl.FileCache) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 FileCache (org.magic.api.cache.impl.FileCache)1 MemoryCache (org.magic.api.cache.impl.MemoryCache)1 NoCache (org.magic.api.cache.impl.NoCache)1