@Test
public void testTypeAsType() {

    AtomicBoolean expected = new AtomicBoolean(true);
    map.put("value", expected);
    AtomicBoolean actual = MapValueGetter.getAsType(map, "value", AtomicBoolean.class);
    assertEquals(expected, actual);
}