Example usage for org.apache.commons.collections DefaultMapEntry DefaultMapEntry

List of usage examples for org.apache.commons.collections DefaultMapEntry DefaultMapEntry

Introduction

In this page you can find the example usage for org.apache.commons.collections DefaultMapEntry DefaultMapEntry.

Prototype

public DefaultMapEntry() 

Source Link

Document

Constructs a new DefaultMapEntry with a null key and null value.

Usage

From source file:com.intuit.tank.api.model.v1.automation.adapter.MapEntryTypeTest.java

/**
 * Run the MapEntryType(Entry<String,String>) constructor test.
 *
 * @throws Exception/* w  ww.j  a va2s  .  c  o m*/
 *
 * @generatedBy CodePro at 12/15/14 2:50 PM
 */
@Test
public void testMapEntryType_2() throws Exception {
    java.util.Map.Entry<String, String> e = new DefaultMapEntry();

    MapEntryType result = new MapEntryType(e);

    assertNotNull(result);
    assertEquals(null, result.getValue());
    assertEquals(null, result.getKey());
}