I'm testing the type of the response from a WebAPI controller. I can find both HttpNotFoundResult as well as HttpOkObjectResult but nothing similar to HttpBadRequestResult. How do I assert this?
HttpNotFoundResult
HttpOkObjectResult
HttpBadRequestResult
Aucun commentaire:
Enregistrer un commentaire