@Test
public void utf8Fixup() {

    Mockito.when(request.getQueryString()).thenReturn(
            "foo=12345&bar=blah&baz=&param=param");
    HashMap<String, Object[]> params = new HashMap<String, Object[]>();
    servlet.utf8Fixup(request, params);
    Assert.assertEquals("12345", params.get("foo")[0]);
    Assert.assertEquals("blah", params.get("bar")[0]);
}