Esempio n. 1
0
        public void EditCityResponseIsNotNull()
        {
            // Arrange
            controller = new CitiesController(mockUnitOfWork.Object);
            var city = new CityModel {
                Id = 10, Name = "New York"
            };

            // Act
            var result = controller.EditCity(city.Id, city);

            // Assert
            Assert.IsNotNull(result);
        }