public void WriteDaily__ExecutesSql()
 {
     TestObj.WriteDaily(stockData, stockDefinition);
     _dataPumpProvider.Received().GetTableName(stockDefinition.Type, StockDataRange.Daily, 0);
     _dataPumpProvider.Received().ExecuteSQL(Arg.Compat.Any <string>());
 }
 public void Update__ExecutesSql()
 {
     TestObj.Update(StockType.Stock);
     _dataPumpProvider.Received().GetTableName(StockType.Stock, StockDataRange.Daily, 0);
     _dataPumpProvider.Received().ExecuteSQL(Arg.Compat.Any <string>());
 }