예제 #1
0
        public async Task GetAreasAsyncTest()
        {
            var response = await _lookupController.GetAreas();

            Assert.NotNull(response);
            Assert.NotEmpty(response);
        }
예제 #2
0
        public async Task GetAreas_ReturnsData()
        {
            var result = await _lookupController.GetAreas();

            Assert.NotNull(result);
            Assert.IsType<List<LookupModel>>(result);
            Assert.NotEmpty(result);
        }