public void does_not_handle_non_actions()
        {
            var call = ActionCall.For <Action>(x => x.NonApiMethod(null));

            APIExceptionConvention <Error500Request> .Handles(call).ShouldBeFalse();
        }
        public void handles_unauthenticated_api_actions()
        {
            var call = ActionCall.For <Action>(x => x.UnauthenticatedApiMethod(null));

            APIExceptionConvention <Error500Request> .Handles(call).ShouldBeTrue();
        }