https://spark-school.ru/blog/tests/spark-structure-data-test/