@Test public void selectHostsToBeTurnedOff() { assertEquals(2, randomHostSelector.selectHostsToBeTurnedOff(getTestHosts(), 2).size()); }
@Override public List<Host> selectHostsToBeTurnedOff(List<Host> candidateHosts, int nHosts) { return selectHosts(candidateHosts, nHosts); }
RandomHostSelector implements HostSelector { @Override public List<Host> selectHostsToBeTurnedOff(List<Host> candidateHosts, int nHosts) { return selectHosts(candidateHosts, nHosts); } }
RandomHostSelector implements HostSelector { @Override public List<Host> selectHostsToBeTurnedOff(List<Host> candidateHosts, int nHosts) { return selectHosts(candidateHosts, nHosts); }  }
RandomHostSelector implements HostSelector { @Override public List<Host> selectHostsToBeTurnedOff(List<Host> candidateHosts, int nHosts) { return selectHosts(candidateHosts, nHosts); }  @Override List<Host> selectHostsToBeTurnedOn(List<Host> candidateHosts, int nHosts); @Override List<Host> selectHostsToBeTurnedOn(List<Host> candidateHosts, int minCpus, int maxCpus); @Override List<Host> selectHostsToBeTurnedOff(List<Host> candidateHosts, int nHosts); @Override List<Host> selectHostsToBeTurnedOff(List<Host> candidateHosts, int minCpus, int maxCpus); }
RandomHostSelector implements HostSelector { @Override public List<Host> selectHostsToBeTurnedOff(List<Host> candidateHosts, int nHosts) { return selectHosts(candidateHosts, nHosts); }  @Override List<Host> selectHostsToBeTurnedOn(List<Host> candidateHosts, int nHosts); @Override List<Host> selectHostsToBeTurnedOn(List<Host> candidateHosts, int minCpus, int maxCpus); @Override List<Host> selectHostsToBeTurnedOff(List<Host> candidateHosts, int nHosts); @Override List<Host> selectHostsToBeTurnedOff(List<Host> candidateHosts, int minCpus, int maxCpus);  }