@SuppressWarnings("unchecked")
@Test
public void testGet() {

    Enumeration<String> values2 = createMock(Enumeration.class);
    expect(extractor.getValues("two")).andReturn(values2);
    expect(values2.hasMoreElements()).andReturn(true);
    expect(values2.nextElement()).andReturn("value2");
    expect(values2.hasMoreElements()).andReturn(true);
    expect(values2.nextElement()).andReturn("value3");
    expect(values2.hasMoreElements()).andReturn(false);
    replay(extractor, values2);
    assertArrayEquals(new String[] {"value2", "value3"}, map.get("two"));
    verify(extractor, values2);
}