Ejemplo n.º 1
0
 public WhenCalled(ISubstitutionContext context, T substitute, Action <T> call, MatchArgs matchArgs)
 {
     _substitute   = substitute;
     _call         = call;
     _matchArgs    = matchArgs;
     _callRouter   = context.GetCallRouterFor(substitute);
     _routeFactory = context.GetRouteFactory();
 }