示例#1
0
 public void SetUp()
 {
     _reader   = Substitute.For <IURLReader>();
     _stockApi = Substitute.For <IAPIService>();
     _trader   = Substitute.For <ITrader>();
 }
 private StockAPIService(string apiPath, IURLReader reader)
 {
     _apiPath = apiPath;
     _reader  = reader;
 }