public void control() {
// This should resolve from Maven Central
final File file = Maven.resolver().loadPomFromFile("pom.xml").resolve("junit:junit")
.withClassPathResolution(false).withoutTransitivity().asSingle(File.class);
// Ensure we get JUnit
new ValidationUtil("junit").validate(file);
final File localRepo = new File(FAKE_REPO);
// Ensure we're pulling from the alternate repo we've designated above
Assert.assertTrue(file.getAbsolutePath().contains(localRepo.getAbsolutePath()));
}