@Test
public void shouldPackOnlyMissingResources() throws Exception {
ZipFile zipFile = new ZipFile(SampleProjects.springTravel());
try {
ApplicationArchive archive = new ZipApplicationArchive(zipFile);
CloudResources allResources = new CloudResources(archive);
List<CloudResource> resources = new ArrayList<CloudResource>(allResources.asList());
resources.remove(0);
CloudResources knownRemoteResources = new CloudResources(resources);
UploadApplicationPayload payload = new UploadApplicationPayload(archive, knownRemoteResources);