public async Task GetUserSectorsAsync_CallsService() { // act await userSectorsService.GetUserSectorsAsync(); // assert await userSectorsService.Received(1).GetUserSectorsAsync(); }
public void GetUserSectorsAsync_CallsService() { // act userSectorsService.GetUserSectors(); // assert userSectorsService.Received(1).GetUserSectors(); }