@Test(dependsOnMethods = "testChangeVirtualMachineState")
public void testReconfigure() {
final Ip<?, ?> ip = getLast(vdc.getDefaultNetwork().listUnusedIps());
VirtualMachineTask task = vm.setNics(Lists.<Ip<?, ?>> newArrayList(ip));
assertNotNull(task);
monitoringService.getVirtualMachineMonitor().awaitState(MAX_WAIT, TimeUnit.MINUTES, VirtualMachineState.OFF, vm);
find(vm.listAttachedNics(), new Predicate<Ip<?, ?>>() {