@Test
public void testRemove() {

    String[] values = new String[] {"value1", "value2"};
    expect(responseMap.remove("key")).andReturn(values);
    replay(requestMap, responseMap);
    assertArrayEquals(values, map.remove("key"));
    verify(requestMap, responseMap);
}