Code for a blog article. Inspired by https://github.com/aws-samples/aws-glue-jobs-unit-testing
Main reference is: https://medium.com/@dominikschauer/professional-aws-glue-pyspark-development-mocking-aws-services-for-unit-tests-e6c222e95933
Also helpful: https://www.thedataranger.com/how-to-test-aws-glue-jobs-locally/