abstractpublic class AbstractTestMapEntry extends TestCase (Code)
Abstract tests that can be extended to test any Map.Entry implementation.
Subclasses must implement
AbstractTestMapEntry.makeMapEntry(Object,Object) to return
a new Map.Entry of the type being tested. Subclasses must also implement
AbstractTestMapEntry.testConstructors() to test the constructors of the Map.Entry
type being tested.
since: Commons Collections 3.0 version: $Revision: 155406 $ $Date: 2005-02-26 12:55:26 +0000 (Sat, 26 Feb 2005) $ author: Neil O'Toole
testSelfReferenceHandling() Subclasses should override this method to test the
desired behaviour of the class with respect to
handling of self-references.
Make an instance of Map.Entry with the default (null) key and value.
This implementation simply calls
AbstractTestMapEntry.makeMapEntry(Object,Object) with null for key and value. Subclasses can override this method if desired.