public void LateIndexSet_MissingMember(object obj, object[] args, string[] paramNames) { Assert.Throws <MissingMemberException>(() => LateBinding.LateIndexSet(obj, args, paramNames)); }
public void LateIndexSet(object obj, object[] args, string[] paramNames, Func <object, object> getResult, object expected) { LateBinding.LateIndexSet(obj, args, paramNames); Assert.Equal(expected, getResult(obj)); }