@Test
public void migrateVMTestTargetHostDifferentFromVmHost() throws Exception {

    VMInstanceVO vmInstanceVo = migrateVMSetupVmInstanceVo(0l);
    HostVO hostVo = migrateVMSetupHostVo(1l);
    Mockito.doReturn(vmInstanceVo).when(userVmService).migrateVirtualMachine(Mockito.anyLong(), Mockito.any(HostVO.class));
    administrationAgent.migrateVM(vmInstanceVo, hostVo);
    Mockito.verify(userVmService, Mockito.times(1)).migrateVirtualMachine(Mockito.anyLong(), Mockito.any(HostVO.class));
}