public override object NewInstance(object[] parameters) { return new ArrayObject(this, new List<object>()); }
public void NewInstance() { ArrayFunction function = new ArrayFunction(null); object instance = function.NewInstance(null); Assert.IsNotNull(instance); Assert.IsInstanceOfType(instance, typeof(ArrayObject)); }