public async Task GetCityNameOfApprovedMemberTest() { //Arrange _cityParticipantsService .Setup(c => c.CityOfApprovedMember(It.IsAny <string>())); CitiesController citycon = CreateCityController; //Act var result = await citycon.CityNameOfApprovedMember(GetStringFakeId()); //Assert Assert.NotNull(result); Assert.IsInstanceOf <OkObjectResult>(result); }