public void ReturnOkDeleteActionWithAuthorizedUser()
{
this.controller
.Calling(c => c.Delete(1))
.ShouldHave()
.ActionAttributes(attr => attr.RestrictingForAuthorizedRequests())
.AndAlso()
.ShouldReturn()
.Ok()
.WithResponseModelOfType<CategoryResponseModel>()
.Passing(c => c.Id == 1);
}