@Test
public void processParameters() {

    final HashMap<String, String> params = new HashMap<String, String>();
    params.put("strparam1", "foo");
    params.put("intparam1", "100");
    params.put("boolparam1", "true");
    params.put("doubleparam1", "11.89");
    final TestCmd cmd = new TestCmd();
    paramProcessWorker.processParameters(cmd, params);
    Assert.assertEquals("foo", cmd.strparam1);
    Assert.assertEquals(100, cmd.intparam1);
    Assert.assertTrue(Double.compare(cmd.doubleparam1, 11.89) == 0);
}