@Test
public void testValidateWithDependenciesWithOverlappingFilterRoots() {

    resolvedPackageInfos.add(getPackageInfo("group1:package1:0.1", "/simple-package/META-INF/vault/filter.xml", null));
    resolvedPackageInfos.add(getPackageInfo("group2:package2:2.9", "/simple-package/META-INF/vault/filter.xml", null));
    Assert.assertThat(validator.validate(properties), 
            Matchers.contains(new ValidationMessage(ValidationMessageSeverity.ERROR, String.format(String.format(String.format(DependencyValidator.MESSAGE_DEPENDENCIES_WITH_OVERLAPPING_FILTERS,
                    "group2:package2:2.9", "/etc/project1", "group1:package1:0.1"))))));
}