public void ReturnOkPostActionWithCorrectModelAndAuthorizedUser()
{
this.controller
.Calling(c => c.Post(TestObjectsFactory.ValidCategoryRequestModel))
.ShouldHave()
.ActionAttributes(attr => attr.RestrictingForAuthorizedRequests())
.AndAlso()
.ShouldHave()
.ValidModelState()
.AndAlso()
.ShouldReturn()
.Ok()
.WithResponseModelOfType<int>()
.Passing(x => x > 1);
}