@Test
public void testDeployVMNoFIWARE() throws Exception {

    Tier tier = new Tier("name", new Integer(1), new Integer(1), new Integer(1), null, "flavour", "image", "icono",
            "keypair", "floatingip", "payload");
    TierInstance tierInstance = new TierInstance();
    tierInstance.setTier(tier);
    when(propertiesProvider.getProperty(any(String.class))).thenReturn("1");
    List<String> ips = new ArrayList();
    ips.add("IP");
    String hostname = claudiaData.getService() + "-" + tier.getName() + "-" + 1;
    String fqn = claudiaData.getOrg().replace("_", ".") + ".customers." + claudiaData.getVdc() + ".services."
            + claudiaData.getService() + ".vees." + tier.getName() + ".replicas." + 1;
    VM vm = new VM();
    vm.setFqn(fqn);
    vm.setHostname(hostname);
    when(
            claudiaClient.getIP(any(ClaudiaData.class), any(String.class), Matchers.anyInt(), any(VM.class),
                    anyString())).thenReturn(ips);
    Mockito.doNothing().when(claudiaClient)
            .deployVM(any(ClaudiaData.class), any(TierInstance.class), Matchers.anyInt(), any(VM.class));
    manager.deployVM(claudiaData, tierInstance, 1, vm);
    assertEquals(vm.getDomain(), "");
    assertEquals(vm.getHostname(), hostname);
    assertEquals(vm.getIp(), "IP");
}