expect(project.getTestClasspathElements())
.andReturn(new LinkedList<String>()).anyTimes();
expect(project.getDependencies()).andReturn(new LinkedList<Dependency>())
.once();
expect(project.getArtifact()).andReturn(artifact).once();
expect(artifactResolver.resolveTransitively(
new HashSet<Artifact>(), artifact,
Collections.EMPTY_LIST, repository, metadataSource))
.andReturn(results).anyTimes();
expect(results.getArtifacts()).andReturn(new HashSet<Artifact>());