Esempio n. 1
0
 public DistributorMlb(IDataAccessMlb dataAccessMlb, IDatastore datastore, IPusherUtil pusherUtil)
 {
     _datastore = datastore;
     PusherUtil = pusherUtil;
     // todo convert to dictionary?
     _marketList = dataAccessMlb.GetMarkets();
     InitializeLists();
 }
Esempio n. 2
0
        public void GetMarketsReturnsNonEmptyRecordsetTest()
        {
            // Arrange

            // Act
            Dictionary <int, string> marketsDictionary = _dataAccessMlb.GetMarkets();

            // Assert
            Assert.IsTrue(marketsDictionary.Count > 0);
        }