Assert.assertEquals("https://hudson.eclipse.org/hudson/view/Modeling/job/emf-core-head/lastSuccessfulBuild/artifact/EMF.p2.repository/", _uri);
EList<IU> _ius = fisrtLocation.getIus();
int _size = _ius.size();
Assert.assertEquals(2, _size);
EList<IU> _ius_1 = fisrtLocation.getIus();
final IU iu0 = IterableExtensions.<IU>head(_ius_1);
String _iD = iu0.getID();
Assert.assertEquals("org.eclipse.emf.sdk.feature.group", _iD);
String _version = iu0.getVersion();
Assert.assertEquals("[2.9.0,3.0.0)", _version);
EList<IU> _ius_2 = fisrtLocation.getIus();
final IU iu1 = IterableExtensions.<IU>last(_ius_2);
String _iD_1 = iu1.getID();
Assert.assertEquals("com.google.common.cache", _iD_1);
String _version_1 = iu1.getVersion();
Assert.assertEquals("10.0.1", _version_1);
EList<Location> _locations_1 = targetPlatform.getLocations();
final Location lastLocation = IterableExtensions.<Location>last(_locations_1);
String _uri_1 = lastLocation.getUri();
Assert.assertEquals("https://hudson.eclipse.org/hudson/view/Modeling/job/mdt-uml2-master/lastSuccessfulBuild/artifact/UML2.p2.repository/", _uri_1);
EList<IU> _ius_3 = lastLocation.getIus();
int _size_1 = _ius_3.size();
Assert.assertEquals(1, _size_1);
EList<IU> _ius_4 = lastLocation.getIus();
final IU uml2iu = IterableExtensions.<IU>head(_ius_4);
String _iD_2 = uml2iu.getID();
Assert.assertEquals("org.eclipse.uml2.sdk.feature.group", _iD_2);
String _version_2 = uml2iu.getVersion();
Assert.assertEquals(null, _version_2);
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}
}