formatting

This commit is contained in:
Adrian Cole 2012-01-10 14:29:47 -08:00
parent 2b9ba76fe1
commit ba0725286a
1 changed files with 26 additions and 27 deletions

View File

@ -34,8 +34,6 @@ import com.google.common.collect.ImmutableMultimap;
@Test(groups = "unit", testName = "CloudServersExpectTest") @Test(groups = "unit", testName = "CloudServersExpectTest")
public class CloudServersExpectTest extends BaseCloudServersRestClientExpectTest { public class CloudServersExpectTest extends BaseCloudServersRestClientExpectTest {
public void deleteImageReturnsTrueOn200AndFalseOn404() {
HttpRequest initialAuth = HttpRequest.builder().method("GET").endpoint(URI.create("https://auth/v1.0")) HttpRequest initialAuth = HttpRequest.builder().method("GET").endpoint(URI.create("https://auth/v1.0"))
.headers( .headers(
ImmutableMultimap.<String, String> builder() ImmutableMultimap.<String, String> builder()
@ -61,6 +59,7 @@ public class CloudServersExpectTest extends BaseCloudServersRestClientExpectTest
.put("Content-Length", "0") .put("Content-Length", "0")
.build()).build(); .build()).build();
public void deleteImageReturnsTrueOn200AndFalseOn404() {
HttpRequest deleteImage11 = HttpRequest.builder().method("DELETE").endpoint( HttpRequest deleteImage11 = HttpRequest.builder().method("DELETE").endpoint(
URI.create("https://servers.api.rackspacecloud.com/v1.0/413274/images/11?now=1257695648897")).headers( URI.create("https://servers.api.rackspacecloud.com/v1.0/413274/images/11?now=1257695648897")).headers(