.build(),
responseBuilder()
.payload(payloadFromResourceWithContentType("/drive-info.json", MediaType.APPLICATION_JSON))
.build());
DriveInfo result = api.getDriveInfo(uuid);
assertNotNull(result);
assertEquals(result.getName(), "test_drive_1");
assertEquals(result.getJobs().get(0).getResourceUri(),
"/api/2.0/jobs/ec01d3bc-1ec0-440d-a1c3-0a6421d0d511/");
assertEquals(result.getJobs().get(0).getUuid(), "ec01d3bc-1ec0-440d-a1c3-0a6421d0d511");
assertEquals(result.getJobs().get(2).getResourceUri(),
"/api/2.0/jobs/8bacb5b3-6392-4f74-8094-ba3376a3f5f7/");
assertEquals(result.getJobs().get(2).getUuid(), "8bacb5b3-6392-4f74-8094-ba3376a3f5f7");
}