예제 #1
0
 @Test
 public void testCache() throws Exception {
   assertEquals(0, cacheSize());
   doTestCache();
   assertEquals(toConstruct.length, cacheSize());
   ReflectionUtils.clearCache();
   assertEquals(0, cacheSize());
 }
예제 #2
0
 @Before
 public void setUp() {
   ReflectionUtils.clearCache();
 }