@Before
public void setUp() throws Exception {
ToolSuiteXml toolSuiteXml = new ToolSuiteXml();
List<Release> releases = new ArrayList<>();
Release release = new Release();
List<Download> downloads = new ArrayList<>();
Download download = new Download();
download.setDescription("Mac OS X (Cocoa)");
download.setOs("mac");
download.setFile("release/STS/3.3.0/dist/e4.3/spring-tool-suite-3.3.0.RELEASE-e4.3-macosx-cocoa-installer.dmg");
download.setBucket("http://dist.springsource.com/");
download.setEclipseVersion("4.3");
download.setSize("373MB");
download.setVersion("3.3.0.RELEASE");
downloads.add(download);
download = new Download();
download.setDescription("Windows (64bit)");
download.setOs("windows");
download.setFile("release/STS/3.3.0/dist/e4.3/spring-tool-suite-3.3.0.RELEASE-e4.3-win32-x86_64-installer.exe");
download.setBucket("http://dist.springsource.com/");
download.setEclipseVersion("4.3");
download.setSize("373MB");
download.setVersion("3.3.0.RELEASE");
downloads.add(download);
release.setDownloads(downloads);
release.setName("Spring Tool Suite 3.3.0.RELEASE - based on Eclipse Kepler 4.3");
releases.add(release);
toolSuiteXml.setReleases(releases);
toolXmlConverter = new ToolXmlConverter();