Пример #1
0
        public async Task GetCountryById_ReturnsData()
        {
            var _countryId = 1;
            var result = await _lookupController.GetCountryById(_countryId);

            Assert.NotNull(result);
            Assert.IsType<CountryModel>(result);
            Assert.Equal(_countryId, result.CountryId);
            Assert.False(result.IsGolf);
        }