public void UsePrototypeForGetValue()
{
Function function = new Function(null, null);
DynamicObject dynobj = new DynamicObject(function);
DynamicObject prototype = new DynamicObject();
function.SetValue("prototype", prototype);
prototype.SetValue("x", 10);
Assert.AreEqual(10, dynobj.GetValue("x"));
}