Closed
Description
Just started using the library and quickly realized that there is only a single assertion for IActionResult<T>
, BeConvertibleTo<T>
.
This method doesn't help much when dealing with default responses and values, since you still have to explicitly say what the values and types are. For instance, this seems a bit unintuitive to me:
result.Should().BeConvertibleTo<ObjectResult>().Which.Value.Should().Be(myValue)
I noticed that there are quite a few checks on IActionResult
. Shoudn't most of those be ported to work with ActionResult<T>
as well?
Metadata
Metadata
Assignees
Labels
No labels