@Test
public void testGetKeys() {

    expect(request.getKeys()).andReturn(new Object[] {"one", "two"});
    replay(request);
    Enumeration<String> keys = extractor.getKeys();
    assertTrue(keys.hasMoreElements());
    assertEquals("one", keys.nextElement());
    assertTrue(keys.hasMoreElements());
    assertEquals("two", keys.nextElement());
    assertFalse(keys.hasMoreElements());
    verify(request);
}