public void DoNotCallBase() { _threadContext.SetNextRoute(_callRouter, x => _routeFactory.DoNotCallBase(x, _matchArgs)); _call(_substitute); }
/// <summary> /// Do not call the base implementation on future calls. For use with partial substitutes. /// </summary> public void DoNotCallBase() { _callRouter.SetRoute(x => _routeFactory.DoNotCallBase(x, _matchArgs)); _call(_substitute); }