@@ -0,0 +1,723 @@
+package org.simpleframework.xml.util;%0D%0A%0D%0Aimport java.util.HashMap;%0D%0Aimport junit.framework.TestCase;%0D%0A%0D%0Apublic class WeakCacheTest extends TestCase %7B%0D%0A   %0D%0A   private static final int LOAD_COUNT = 100000;%0D%0A   %0D%0A   public void testCache() %7B%0D%0A      WeakCache cache = new WeakCache();%0D%0A      HashMap map = new HashMap();%0D%0A      %0D%0A      for(int i = 0; i %3C LOAD_COUNT; i++) %7B%0D%0A         String key = String.valueOf(i);%0D%0A         %0D%0A         cache.cache(key, key);%0D%0A         map.put(key, key);%0D%0A      %7D%0D%0A      for(int i = 0; i %3C LOAD_COUNT; i++) %7B%0D%0A         String key = String.valueOf(i);%0D%0A         %0D%0A         assertEquals(cache.fetch(key), key);%0D%0A         assertEquals(map.get(key), cache.fetch(key));%0D%0A      %7D      %0D%0A   %7D%0D%0A%0D%0A%7D%0D%0A

Update the cache test