@Test
public void testGet() {

    final ScopedMap<String, String> map =
            new ScopedMap<String, String>(observer);
    Assert.assertNull(map.get("nokey"));
    map.put("key1", "value1");
    Assert.assertEquals("value1", map.get("key1"));
    map.put("key2", "value2");
    Assert.assertEquals("value1", map.get("key1"));
    Assert.assertEquals("value2", map.get("key2"));
    map.clear();
    Assert.assertNull(map.get("key1"));
    Assert.assertNull(map.get("key2"));
}