Esempio n. 1
0
        public void ReelsBusiness_ShouldCallGetAllReelsMethod()
        {
            var result = _reelBusiness.GetAllReels();

            _reelData.Verify(m => m.GetAllReels(), Times.Once);
            Assert.IsNotNull(result);
            Assert.IsInstanceOfType(result, typeof(IEnumerable <Reel>));
        }
Esempio n. 2
0
 public IEnumerable <Reel> GetAllReels()
 {
     return(_reelBusiness.GetAllReels());
 }