public void NewInstance() { ObjectFunction function = new ObjectFunction(null); object instance = function.NewInstance(null); Assert.IsNotNull(instance); Assert.IsInstanceOfType(instance, typeof(DynamicObject)); }