示例#1
0
        public void CountryController_AddPost_CallsAddCountryWithPassedValue()
        {
            var country = new Country()
            {
                Name = "Great Britain", ISOTwoLetterCode = "GB"
            };

            _countryController.Add_POST(country);

            A.CallTo(() => _countryService.AddCountry(country)).MustHaveHappened();
        }