Пример #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();
 }