1 8 package org.apache.avalon.excalibur.cache.store.test; 9 10 import org.apache.avalon.excalibur.cache.CacheStore; 11 import junit.framework.TestCase; 12 13 18 public class AbstractCacheStoreTestCase 19 extends TestCase 20 { 21 protected CacheStore m_store; 22 23 public AbstractCacheStoreTestCase( final String name ) 24 { 25 super( name ); 26 } 27 28 public void testNullValue() 29 { 30 m_store.put( "KEY", null ); 31 assertTrue( m_store.containsKey( "KEY" ) ); 32 assertEquals( 1, m_store.size() ); 33 } 34 } 35 | Popular Tags |