parameterMap.put("p3", 1.23);
parameterMap.put("p4", Date.valueOf("2011-03-01"));
parameterMap.put("p5", userDefinedType);
parameterMap.put("p6", 123456L);
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]);