archunit
Unit test your Java architecture - ArchUnit
https://github.com/TNG/ArchUnit
참조
Introduction to ArchUnit | Baeldung
Clean Architecture Boundaries with Spring Boot and ArchUnit