示例#1
0
        public void AddWithSingleArgument(string methodName, dynamic argument)
        {
            List <dynamic> argumentList = new List <dynamic> {
                argument
            };
            var mockMethodCall = new MockMethodCall(methodName, argumentList);

            MethodsCalled.Add(mockMethodCall);
        }
示例#2
0
        public void AddWithMultipleArguments(string methodName, List <dynamic> arguments)
        {
            var mockMethodCall = new MockMethodCall(methodName, arguments);

            MethodsCalled.Add(mockMethodCall);
        }
示例#3
0
        public void Add(string methodName)
        {
            var mockMethodCall = new MockMethodCall(methodName);

            MethodsCalled.Add(mockMethodCall);
        }