@Test
public void testGetObject() {

    Map<String, Object> map = new HashMap<String, Object>();
    map.put("object1", "value");
    assertEquals("The value is not correct", "value", resolver.getObject(
            map, "object1"));
    assertNull("The value is not null", resolver.getObject(map, "object2"));
    assertNull("The value is not null", resolver.getObject(null, "object1"));
}