org.apache.commons.collections.keyvalue
public abstract class AbstractTestMapEntry extends TestCase
Since: Commons Collections 3.0
Field Summary | |
---|---|
protected String | key |
protected String | value |
Constructor Summary | |
---|---|
AbstractTestMapEntry(String testName)
JUnit constructor.
|
Method Summary | |
---|---|
Entry | makeKnownMapEntry()
Makes a Map.Entry of a type that's known to work correctly. |
Entry | makeKnownMapEntry(Object key, Object value)
Makes a Map.Entry of a type that's known to work correctly. |
Entry | makeMapEntry()
Make an instance of Map.Entry with the default (null) key and value.
|
abstract Entry | makeMapEntry(Object key, Object value)
Make an instance of Map.Entry with the specified key and value.
|
void | testAccessorsAndMutators() |
abstract void | testConstructors()
Subclasses should provide tests for their constructors.
|
void | testEqualsAndHashCode() |
void | testSelfReferenceHandling()
Subclasses should override this method to test the
desired behaviour of the class with respect to
handling of self-references.
|
void | testToString() |
Parameters: testName the test name