Пример #1
0
 public PortProxyController(ISettings config, IProcessRunnerAsync processRunner)
 {
     this.config        = config;
     this.processRunner = processRunner;
 }
 public void Setup()
 {
     settings      = Substitute.For <ISettings>();
     processRunner = Substitute.For <IProcessRunnerAsync>();
     controller    = new PortProxyController(settings, processRunner);
 }