@Test
public void testResolutionOk() throws Exception {
prepareRepo();
Resolver resolver = injector.getInstance(EagerResolver.class);
List<Requirement> initialRequirements = new ArrayList<Requirement>();
initialRequirements.add(new Requirement("befw", ReqType.EQ, "1.0.0", RepositoryType.TARBZ2,
"http://localhost"));
Set<Artifact> artifacts = resolver.resolve(initialRequirements);
ArtifactData[] expected = { new ArtifactData("tuenti-common", "1.7.0"),
new ArtifactData("futi", "3.0"), new ArtifactData("tuenti-build", "9.0"),
new ArtifactData("befw", "1.0.0") };
expectArtifacts(expected, artifacts);