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

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

            MethodsCalled.Add(mockMethodCall);
        }