}
@Test
public void addsAnArchitectureToEachEclipseVersion() throws Exception {
ToolSuitePlatform mac = toolSuite.getPlatformList().get(1);
EclipseVersion eclipseVersion = mac.getEclipseVersions().get(0);
assertThat(eclipseVersion.getArchitectures().size(), equalTo(1));
assertThat(eclipseVersion.getArchitectures().get(0).getName(), equalTo("Mac OS X (Cocoa)"));
EclipseVersion windowsEclipseVersion = mac.getEclipseVersions().get(1);
assertThat(windowsEclipseVersion.getArchitectures().size(), equalTo(1));
assertThat(windowsEclipseVersion.getArchitectures().get(0).getName(), equalTo("Mac OS X (Cocoa)"));
}