private static Droplet mockDroplet() { return Droplet.create(1, "foo", 1024, 1, 20, false, new Date(), Droplet.Status.ACTIVE, ImmutableList.<Integer> of(), ImmutableList.<Integer> of(), ImmutableList.<String> of(), null, null, null, "", null, null); } }
private static Droplet mockDroplet(Status status) { return Droplet.create(1, "foo", 1024, 1, 20, false, new Date(), status, ImmutableList.<Integer> of(), ImmutableList.<Integer> of(), ImmutableList.<String> of(), null, null, null, "", null, null); } }
"distribution", "Ubuntu", "ubuntu2-1404-x86", true, ImmutableList.of("sfo1"), new Date(), 20, 20); Droplet droplet = Droplet.create( 1, "mock-droplet",
@Test public void testConvertDroplet() throws ParseException { Droplet droplet = Droplet.create( 1, "mock-droplet",