Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public void TestCityControllerMappingReturnResultIsNullFail() { iMappingMock.Setup(x => x.Mapping(It.IsAny <string>())).Returns(Task.FromResult(new BaseResult <IEnumerable <dynamic> > { Result = null })); var result = mockCityController.Mapping().Result; Assert.That(result is NoContentResult); }