public void RequestAllMunicipalities_GetAllMunicipalities() { PlacesService service = GetService(); var result = service.GetAllMunicipalities(); Assert.IsInstanceOfType(result, typeof(Task <List <Municipality> >)); }
public void RequestAllMunicipalities_CallMunicipalitiesRepo() { PlacesService service = GetService(); var result = service.GetAllMunicipalities(); _municipalityRepoMock.Verify(m => m.GetMunicipalities(), Times.Once); }