187188189190191192193194195196197
// Remove all the items for ( int i = 0; i <= items; i++ ) { jcs.destroy( i + ":key" ); } // Verify removal for ( int i = 0; i <= items; i++ )
130131132133134135136137138139140
this.assertNotNull( "[" + i + ":key] should not be null", res ); } } // test removal jcs.destroy( "300:key" ); assertNull( jcs.get( "300:key" ) ); } }