@Test public void updateContainerHealthImpl () { for (ContainerHealth containerHealth : ContainerHealth.values()) { when(awsEC2Platform.checkHealth(any(String.class))).thenReturn(containerHealth); assertEquals(containerHealth, awsEC2Container.updateContainerHealthImpl(null)); } }
@Override protected ContainerHealth updateContainerHealthImpl (ExperimentType experimentType) { return awsEC2Platform.checkHealth(instanceId); }
AwsEC2Container extends AwsContainer { @Override protected ContainerHealth updateContainerHealthImpl (ExperimentType experimentType) { return awsEC2Platform.checkHealth(instanceId); } }
AwsEC2Container extends AwsContainer { @Override protected ContainerHealth updateContainerHealthImpl (ExperimentType experimentType) { return awsEC2Platform.checkHealth(instanceId); } private  AwsEC2Container(); }
AwsEC2Container extends AwsContainer { @Override protected ContainerHealth updateContainerHealthImpl (ExperimentType experimentType) { return awsEC2Platform.checkHealth(instanceId); } private  AwsEC2Container(); static AwsEC2ContainerBuilder builder(); String getInstanceId(); String getGroupIdentifier(); String getKeyName(); String getName(); boolean isSSHCapable(); String getImageId(); @Override Platform getPlatform(); @Override boolean eligibleForExperiments(); @Override String getSimpleName(); @Override String getAggregationIdentifier(); @Override DataDogIdentifier getDataDogIdentifier(); @Override boolean isCattle(); @Override boolean supportsShellBasedExperiments(); @ChaosExperiment(experimentType = ExperimentType.STATE) void stopContainer(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.STATE) void restartContainer(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.STATE, experimentScope = ExperimentScope.CATTLE) void terminateASGContainer(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.NETWORK) void removeSecurityGroups(Experiment experiment); String getRoutableAddress(); String getPublicAddress(); }
AwsEC2Container extends AwsContainer { @Override protected ContainerHealth updateContainerHealthImpl (ExperimentType experimentType) { return awsEC2Platform.checkHealth(instanceId); } private  AwsEC2Container(); static AwsEC2ContainerBuilder builder(); String getInstanceId(); String getGroupIdentifier(); String getKeyName(); String getName(); boolean isSSHCapable(); String getImageId(); @Override Platform getPlatform(); @Override boolean eligibleForExperiments(); @Override String getSimpleName(); @Override String getAggregationIdentifier(); @Override DataDogIdentifier getDataDogIdentifier(); @Override boolean isCattle(); @Override boolean supportsShellBasedExperiments(); @ChaosExperiment(experimentType = ExperimentType.STATE) void stopContainer(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.STATE) void restartContainer(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.STATE, experimentScope = ExperimentScope.CATTLE) void terminateASGContainer(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.NETWORK) void removeSecurityGroups(Experiment experiment); String getRoutableAddress(); String getPublicAddress();  }