public void testAllocationStateStatic() { AddHostOptions options = allocationState(AllocationState.ENABLED); assertEquals(ImmutableList.of("Enabled"), options.buildQueryParameters().get("allocationstate")); }
public void testHostTagsStatic() { AddHostOptions options = hostTags(ImmutableSet.<String>of("foo", "bar", "baz")); assertEquals(ImmutableList.of("foo,bar,baz"), options.buildQueryParameters().get("hosttags")); }
public void testClusterIdStatic() { AddHostOptions options = clusterId("42"); assertEquals(ImmutableList.of("42"), options.buildQueryParameters().get("clusterid")); }
public void testClusterNameStatic() { AddHostOptions options = clusterName("Cluster Name"); assertEquals(ImmutableList.of("Cluster Name"), options.buildQueryParameters().get("clustername")); }
public void testPodIdStatic() { AddHostOptions options = podId("42"); assertEquals(ImmutableList.of("42"), options.buildQueryParameters().get("podid")); }
public void testClusterIdStatic() { AddHostOptions options = clusterId("42"); assertEquals(ImmutableList.of("42"), options.buildQueryParameters().get("clusterid")); }
public void testHostTagsStatic() { AddHostOptions options = hostTags(ImmutableSet.<String>of("foo", "bar", "baz")); assertEquals(ImmutableList.of("foo,bar,baz"), options.buildQueryParameters().get("hosttags")); }
public void testAllocationStateStatic() { AddHostOptions options = allocationState(AllocationState.ENABLED); assertEquals(ImmutableList.of("Enabled"), options.buildQueryParameters().get("allocationstate")); }
public void testClusterNameStatic() { AddHostOptions options = clusterName("Cluster Name"); assertEquals(ImmutableList.of("Cluster Name"), options.buildQueryParameters().get("clustername")); }
public void testPodIdStatic() { AddHostOptions options = podId("42"); assertEquals(ImmutableList.of("42"), options.buildQueryParameters().get("podid")); }
public void testAllocationState() { AddHostOptions options = new AddHostOptions().allocationState(AllocationState.ENABLED); assertEquals(ImmutableList.of("Enabled"), options.buildQueryParameters().get("allocationstate")); }
public void testHostTags() { AddHostOptions options = new AddHostOptions().hostTags(ImmutableSet.<String>of("foo", "bar", "baz")); assertEquals(ImmutableList.of("foo,bar,baz"), options.buildQueryParameters().get("hosttags")); }
public void testClusterId() { AddHostOptions options = new AddHostOptions().clusterId("42"); assertEquals(ImmutableList.of("42"), options.buildQueryParameters().get("clusterid")); }
public void testClusterName() { AddHostOptions options = new AddHostOptions().clusterName("Cluster Name"); assertEquals(ImmutableList.of("Cluster Name"), options.buildQueryParameters().get("clustername")); }
public void testPodId() { AddHostOptions options = new AddHostOptions().podId("42"); assertEquals(ImmutableList.of("42"), options.buildQueryParameters().get("podid")); }
public void testHostTags() { AddHostOptions options = new AddHostOptions().hostTags(ImmutableSet.<String>of("foo", "bar", "baz")); assertEquals(ImmutableList.of("foo,bar,baz"), options.buildQueryParameters().get("hosttags")); }
public void testAllocationState() { AddHostOptions options = new AddHostOptions().allocationState(AllocationState.ENABLED); assertEquals(ImmutableList.of("Enabled"), options.buildQueryParameters().get("allocationstate")); }
public void testClusterName() { AddHostOptions options = new AddHostOptions().clusterName("Cluster Name"); assertEquals(ImmutableList.of("Cluster Name"), options.buildQueryParameters().get("clustername")); }
public void testPodId() { AddHostOptions options = new AddHostOptions().podId("42"); assertEquals(ImmutableList.of("42"), options.buildQueryParameters().get("podid")); }
public void testClusterId() { AddHostOptions options = new AddHostOptions().clusterId("42"); assertEquals(ImmutableList.of("42"), options.buildQueryParameters().get("clusterid")); }