"org.jboss.shrinkwrap.test:test-dependency-test:1.0.0", ScopeType.TEST, false);
final MavenDependency dependency2 = MavenDependencies.createDependency(
"org.jboss.shrinkwrap.test:test-dependency:1.0.0", ScopeType.TEST, false);
File[] files = Maven.resolver().loadPomFromFile("target/poms/test-parent.xml").addDependency(dependency)
.addDependency(dependency2).resolve()
.using(new CombinedStrategy(NonTransitiveStrategy.INSTANCE, new AcceptScopesStrategy(ScopeType.TEST)))
.as(File.class);
new ValidationUtil("test-dependency-test-1.0.0.jar", "test-dependency-1.0.0.jar").validate(files);
}