@Test
public void testValidateWithUnresolvedDependencies() {

    resolvedPackageInfos.add(getPackageInfo("group1:package1:0.1", "/filter.xml", null));
    Assert.assertThat(validator.validate(properties), 
            Matchers.contains(new ValidationMessage(ValidationMessageSeverity.ERROR, String.format(String.format(DependencyValidator.MESSAGE_UNRESOLVED_DEPENDENCY, "group2:package2:(2,3)")))));
}