@Consumes(APPLICATION_JSON)
public Project expected(String baseUrl) {
return Project.create(
"13024414184846275913",
URI.create(baseUrl + "/761326798069"),
"party",
"",
Metadata.create("efgh").put("propA", "valueA").put("propB", "valueB"),
ImmutableList.of(
Quota.create("INSTANCES", 0, 8),
Quota.create("CPUS", 0, 8),
Quota.create("EPHEMERAL_ADDRESSES", 0, 8),
Quota.create("DISKS", 0, 8),
Quota.create("DISKS_TOTAL_GB", 0, 100),
Quota.create("SNAPSHOTS", 0, 1000),
Quota.create("NETWORKS", 1, 5),
Quota.create("FIREWALLS", 2, 100),
Quota.create("IMAGES", 0, 100)),
null,
new SimpleDateFormatDateService().iso8601DateParse("2012-10-24T20:13:16.252"),
UsageExportLocation.create("test-bucket", "report-prefix")
);
}
}