public void ReturnOkFinalizeProjectPutAction()
{
this.controller
.Calling(c => c.FinalizeProject(1))
.ShouldHave()
.ActionAttributes(attr => attr.RestrictingForRequestsWithMethod(HttpMethod.Put))
.AndAlso()
.ShouldHave()
.ActionAttributes(attr => attr.ChangingRouteTo("~/api/projects/complete/{id}"))
.AndAlso()
.ShouldHave()
.ActionAttributes(attr => attr.RestrictingForAuthorizedRequests())
.AndAlso()
.ShouldReturn()
.Ok();
}