OpenstackIaasHandler extends AbstractThreadedTargetHandler { @Override public String getTargetId() { return TARGET_ID; }  @Override String getTargetId(); @Override String createMachine( TargetHandlerParameters parameters ); @Override boolean isMachineRunning( TargetHandlerParameters parameters, String machineId ); @Override MachineConfigurator machineConfigurator( TargetHandlerParameters parameters, String machineId ); @Override void terminateMachine( TargetHandlerParameters parameters, String machineId ); @Override String retrievePublicIpAddress( TargetHandlerParameters parameters, String machineId ); static final String TARGET_ID; }
@Test public void testGetTargetId() { Assert.assertEquals( TARGET_ID, new OpenstackIaasHandler().getTargetId()); }