public void control1() {
// This should resolve from Maven Central
final File file = Maven.resolver().resolve("junit:junit:4.11").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()));
}