public void Clear() { _currentMethodCall = null; _methodCallMatcherBuilder = MethodCallMatcherBuilder.Create(); _methodCallMatcher = null; _activeAssertion = null; }
public MethodCallMatcher SetCurrentMethodCall(ProxyMethodCall methodCall) { _currentMethodCall = methodCall; _methodCallMatcher = _methodCallMatcherBuilder .WithMethodCall(methodCall) .Build(); _methodCallMatcherBuilder = MethodCallMatcherBuilder.Create(); return(_methodCallMatcher); }