public async void DeliveriesController_GetDeliveriesByCourierIdAsync_should_return_ok() { // Arrange var fakeGuid = Guid.NewGuid(); // Act var result = await _controller.GetDeliveriesByCourierIdAsync(fakeGuid) as ObjectResult; // Assert result.Should().NotBeNull(); result.StatusCode.Should().Be((int)HttpStatusCode.OK); _service.Verify(x => x.GetDeliveriesByCourierIdAsync(fakeGuid), Times.Once()); }