Example #1
0
        public async Task LobsController_AreYouWorking()
        {
            //Arrange
            var controller = new LobsController(_lobsService);

            // Act
            var actionResult = await controller.All();

            // Assert
            Assert.NotNull(actionResult);
        }
Example #2
0
        public async Task LobsController_TotalCount()
        {
            //Arrange
            var controller = new LobsController(_lobsService);

            int expectedCount = LOBS_TOTALCOUNT;

            // Act
            var _listLobs = await controller.All();

            // Assert
            Assert.Equal(_listLobs.Count(), expectedCount);
        }
Example #3
0
 public async Task <IEnumerable <tblLOBs> > Controller_All() => await _controllerLobs.All();