public async Task GetDetails_WhenInvalidTransactionId_ThenReturnsBadRequest() { var request = "not a guid"; var response = await _sut.GetDetails(request); Assert.IsAssignableFrom <BadRequestObjectResult>(response.Result); }