@Test
public void testRemoveObject() {

    expect(extractor.getValue("one")).andReturn(1);
    extractor.removeValue("one");
    replay(extractor);
    assertEquals(new Integer(1), map.remove("one"));
    verify(extractor);
}