}
public void testNullPropertySetter()
throws Exception
{
Uberspect u = ri.getUberspect();
GetPutObject gpo = new GetPutObject();
Map map = new HashMap();
// Don't screw up on null properties. That should map to put() on the GPO.
VelPropertySet setter = u.getPropertySet(gpo, null, "", null);
assertNotNull(setter);
assertEquals("Found wrong method", "put", setter.getMethodName());
// And should be null on a Map which does not have a put()
setter = u.getPropertySet(map, null, "", null);
assertNull(setter);
}