MyTested.AspNetCore.Mvc
MyTested.AspNetCore.Mvc copied to clipboard
Add OnActionExecuting and OnActionExecuted testing options
Example test:
MyController<HomeController>
.Instance()
.WithActionExecuting() // Name may change
.WithActionExecuted() // Name may change
.Calling(c => c.Index())
.ShouldReturn()
.Ok();