Good question! I actually covered this in a lot more detail in this blog post here. Essentially, I think the risk profile for serverless applications are different and unit tests just don't have a good return-on-investment, and instead you should focus more on integration and acceptance testing your application.
My honeysuckle is blooming this year! Now to fertilize this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java