Beispiel #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);
        }
Beispiel #2
0
        public void AddWithMultipleArguments(string methodName, List <dynamic> arguments)
        {
            var mockMethodCall = new MockMethodCall(methodName, arguments);

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

            MethodsCalled.Add(mockMethodCall);
        }