public async Task LobsController_AreYouWorking() { //Arrange var controller = new LobsController(_lobsService); // Act var actionResult = await controller.All(); // Assert Assert.NotNull(actionResult); }
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); }
public async Task <IEnumerable <tblLOBs> > Controller_All() => await _controllerLobs.All();