public void setup() throws Exception { for (int i = 0; i < count; i++) { IDevice d = environments.getDevice(device); d.setup(); devices.add(d); } }