parameterMap.put("p2", new String[] { "123" });
parameterMap.put("p3", new String[] { "1.23" });
parameterMap.put("p4", new String[] { "2011-03-01" });
parameterMap.put("p5", new String[] { "123456" });
Class<?>[] paramTypes = sig.parameterTypes();
assertEquals(6, paramTypes.length);
assertEquals(String.class, paramTypes[0]);
assertEquals(Integer.class, paramTypes[1]);
assertEquals(Double.class, paramTypes[2]);
assertEquals(Date.class, paramTypes[3]);