public async Task GetAsync_CallsGateway_ReturnValue() { //Arrange starshipGateway.GetAsync().Returns(fixture.CreateMany <Starship>()); //Act var starships = await starshipService.GetAsync().ConfigureAwait(false); //Assert starships.Should().NotBeEmpty(); await starshipGateway.Received(1).GetAsync().ConfigureAwait(false); }