bootstrapMainStarterMock = context.mock(BootstrapMainStarter.class);
installMock = context.mock(Install.class);
propertiesDir.mkdirs();
propertiesFile = new File(propertiesDir, "wrapper.properties");
Properties testProperties = new Properties();
testProperties.load(WrapperTest.class.getResourceAsStream("/org/gradle/wrapper/wrapper.properties"));
testProperties.store(new FileOutputStream(propertiesFile), null);
System.setProperty(Wrapper.WRAPPER_PROPERTIES_PROPERTY, propertiesFile.getCanonicalPath());
}
@After