public void ReturnBadRequestInvalidCategoryIdDeleteAction()
{
this.controller
.Calling(c => c.Delete(100))
.ShouldHave()
.ActionAttributes(attr => attr.RestrictingForAuthorizedRequests())
.AndAlso()
.ShouldReturn()
.BadRequest()
.WithErrorMessage("No category with that id is present.");
}