HashSet<IMachine> otherMachines = new HashSet<>(machines);
IMachine hal9000 =
perfDB.newMachine("HAL 9000", "I'm sorry, Dave...",
Strings.getMACAddressString(new byte[] { 2, 0, 0, 1 }), -1);
otherMachines.add(hal9000);
IHardwareSetup halSetup =
perfDB.newHardwareSetup("TestSetup2", "which also is unique!",
"strong", 0, otherMachines);
List<IHardwareSetup> setups = perfDB.getAllHardwareSetups();
assertEquals(2, setups.size());
assertEquals(false, perfDB.deleteMachine(hal9000));