public void ReturnBadRequestPutActionOnAProjectThatIsBeingWorkedOn()
{
controller.
Calling(c => c.Put(10))
.ShouldHave()
.ActionAttributes(attr => attr.RestrictingForAuthorizedRequests())
.AndAlso()
.ShouldReturn()
.BadRequest()
.WithErrorMessage("The project is already being worked on!");
}