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