@Test
    void verifyValidation() throws IOException {
        val compositePropertySource = new CompositePropertySource("webjars");
        compositePropertySource.addPropertySource(new PropertiesPropertySource("messages",
            PropertiesLoaderUtils.loadProperties(new ClassPathResource("cas_common_messages.properties"))));
        compositePropertySource.addPropertySource(new PropertiesPropertySource("versions",
            PropertiesLoaderUtils.loadProperties(new FileSystemResource("../../gradle.properties"))));
        Arrays.stream(compositePropertySource.getPropertyNames())
            .filter(key -> key.startsWith("webjars."))
            .map(key -> new ClassPathResource("META-INF/resources%s".formatted(compositePropertySource.getProperty(key))))
            .forEach(resource -> assertTrue(resource.exists(), () -> "Webjar path bad: " + resource.getPath()));
    }
Webjar paths aren't always consistent from version to version so check that the paths exist in the jars.

@author Hal Deadman
@since 6.1.0
core/cas-server-core-web/src/test/java/org/apereo/cas/web/WebjarValidationTests.java