@Test
public void testGetValue() {

    ScopedMapItem<String> stringItem1 =
            new ScopedMapItem<String>(Scope.ANONYMOUS, "test1");
    Assert.assertEquals("test1", stringItem1.getValue());
    ScopedMapItem<String> stringItem2 =
            new ScopedMapItem<String>(Scope.ANONYMOUS, null);
    Assert.assertEquals(null, stringItem2.getValue());
    ScopedMapItem<String> stringItem3 =
            new ScopedMapItem<String>(null, "test3");
    Assert.assertEquals("test3", stringItem3.getValue());
    ScopedMapItem<String> stringItem4 =
            new ScopedMapItem<String>(null, null);
    Assert.assertEquals(null, stringItem4.getValue());
    ScopedMapItem<Long> longItem1 =
            new ScopedMapItem<Long>(Scope.ANONYMOUS, new Long(1));
    Assert.assertEquals(new Long(1), longItem1.getValue());
    ScopedMapItem<Long> longItem2 =
            new ScopedMapItem<Long>(Scope.DIALOG, new Long(2));
    Assert.assertEquals(new Long(2), longItem2.getValue());
}