public static void main(final String[] args) throws Exception {
        var patternBootTestClasses = Pattern.compile("@SpringBootTest\\(classes\\s*=\\s*\\{(.*?)\\}", Pattern.DOTALL);
        var patternBootTestClass = Pattern.compile("@SpringBootTest\\(classes\\s*=\\s*(.*)");
        var importedTestClasses = Pattern.compile("@Import\\(\\{(.*?)\\}\\)", Pattern.DOTALL);
        checkPattern(args[0], patternBootTestClasses);
        checkDuplicateTestConfiguration(args[0], patternBootTestClasses, importedTestClasses);
        checkCasTestExtension(args[0], patternBootTestClasses, patternBootTestClass);
    }
This is {@link CheckRedundantTestConfigurationInheritance}.

@author Misagh Moayyed
@since 6.3.0
ci/checks/CheckRedundantTestConfigurationInheritance.java