@Test
public void testHasDefined()
{

   assertFalse(modelObject().hasDefined("foo"));
   ModelObject model = modelObject();
   model.get("foo");
   assertFalse(model.hasDefined("foo"));
   model.set("foo", "bar");
   assertTrue(model.hasDefined("foo"));
}