Ejemplo n.º 1
0
        public async Task AddFollower_ReturnsOkResult()
        {
            // Arrange
            int id     = 2;
            int idCity = 2;

            _regionService.Setup(x => x.AddFollowerAsync(It.IsAny <int>(), It.IsAny <int>()));
            // Act
            var result = await _regionController.AddFollower(id, idCity);

            // Assert
            Assert.IsInstanceOf <OkResult>(result);
        }