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

    Enumeration<String> keys = createMock(Enumeration.class);
    expect(request.getHeaderNames()).andReturn(keys);
    replay(request, response, keys);
    assertEquals(keys, extractor.getKeys());
    verify(request, response, keys);
}