...
In theory, everything should work identically to how it would behave in a servlet container, only faster and more efficient.
The MockRest object can also be used with the RestClient class to perform serverless client-side testing against REST resource classes:
This last feature is useful if you want to perform serverless unit testing of REST proxy interfaces.I'd like to also get something working for RestClient as well so that you can test out remoteable proxy interfaces without a servlet container.