Exemplo n.º 1
0
 public void Clear()
 {
     _currentMethodCall        = null;
     _methodCallMatcherBuilder = MethodCallMatcherBuilder.Create();
     _methodCallMatcher        = null;
     _activeAssertion          = null;
 }
Exemplo n.º 2
0
        public MethodCallMatcher SetCurrentMethodCall(ProxyMethodCall methodCall)
        {
            _currentMethodCall = methodCall;
            _methodCallMatcher = _methodCallMatcherBuilder
                                 .WithMethodCall(methodCall)
                                 .Build();

            _methodCallMatcherBuilder = MethodCallMatcherBuilder.Create();
            return(_methodCallMatcher);
        }