@Test
public void testUncoveredRootNodesInFilter() throws IOException, ConfigurationException {

    DefaultWorkspaceFilter filter = new DefaultWorkspaceFilter();
    try (InputStream input = this.getClass().getResourceAsStream("/filter.xml")) {
        filter.load(input);
    }
    validator = new AdvancedFilterValidator(
            factory,
            ValidationMessageSeverity.INFO,
            AdvancedFilterValidatorFactory.DEFAULT_SEVERITY_FOR_UNCOVERED_ANCESTOR_NODES,
            ValidationMessageSeverity.INFO,
            ValidationMessageSeverity.ERROR,
            false,
            dependenciesMetaInfo,
            filter, // this is per test
            validRoots);
    Collection<ValidationMessage> messages = validator.validate(filter);
    ValidationExecutorTest.assertViolation(messages, ValidationMessageSeverity.INFO,
            new ValidationMessage(ValidationMessageSeverity.INFO,
                    String.format(AdvancedFilterValidator.MESSAGE_FILTER_ROOT_ANCESTOR_UNCOVERED, "/apps/test4")));
}