public void CheckoutAsync_ReturnsBadRequest_WhenEmptyPaymentName() { var payment = string.Empty; var result = _paymentController.CheckoutAsync(payment).Result; result.Should().BeAssignableTo <BadRequestResult>(); }