public void AddWithSingleArgument(string methodName, dynamic argument) { List <dynamic> argumentList = new List <dynamic> { argument }; var mockMethodCall = new MockMethodCall(methodName, argumentList); MethodsCalled.Add(mockMethodCall); }
public void AddWithMultipleArguments(string methodName, List <dynamic> arguments) { var mockMethodCall = new MockMethodCall(methodName, arguments); MethodsCalled.Add(mockMethodCall); }
public void Add(string methodName) { var mockMethodCall = new MockMethodCall(methodName); MethodsCalled.Add(mockMethodCall); }