*/
@Test
public void coercion() throws Exception {
Map r = new HashMap();
r.put("a",10L); // long -> int
r.put("b",new GStringImpl(new Object[]{1},new String[]{"pre","post"})); // GString -> String
BogusStep step = (BogusStep) d.newInstance(r);
assertEquals(step.a, 10);
assertEquals(step.b, "pre1post");
}