@Test public void getPowerButtonsToPressReturnsEmptyListWhenAllTheServersAreOn() { assertEquals(0, allServersOnStrategy.getPowerButtonsToPress(getClusterStateWithAllServersOn()).size()); }
@Override public List<Host> getPowerButtonsToPress(ClusterState clusterState) { return clusterState.getTurnedOffHosts(); }
AllServersOnStrategy implements PowerButtonStrategy { @Override public List<Host> getPowerButtonsToPress(ClusterState clusterState) { return clusterState.getTurnedOffHosts(); } }
AllServersOnStrategy implements PowerButtonStrategy { @Override public List<Host> getPowerButtonsToPress(ClusterState clusterState) { return clusterState.getTurnedOffHosts(); } AllServersOnStrategy(); }
AllServersOnStrategy implements PowerButtonStrategy { @Override public List<Host> getPowerButtonsToPress(ClusterState clusterState) { return clusterState.getTurnedOffHosts(); } AllServersOnStrategy(); @Override List<Host> getPowerButtonsToPress(ClusterState clusterState); }
AllServersOnStrategy implements PowerButtonStrategy { @Override public List<Host> getPowerButtonsToPress(ClusterState clusterState) { return clusterState.getTurnedOffHosts(); } AllServersOnStrategy(); @Override List<Host> getPowerButtonsToPress(ClusterState clusterState);  }