@Test
@PrepareForTest(AutonomiccsSystemVmDeploymentService.class)
public void searchForRandomHostInClusterToDeployAutonomiccsSystemVmTest() {

    ClusterVO cluster = Mockito.mock(ClusterVO.class);
    HostVO host = Mockito.mock(HostVO.class);
    Mockito.doReturn(host).when(spy).searchForAnotherRandomHostInTheClusterToStartSystemVmExcludingHosts(Mockito.any(ClusterVO.class), Matchers.anyListOf(HostVO.class));
    HostVO result = spy.searchForRandomHostInClusterToDeployAutonomiccsSystemVm(cluster);
    Mockito.verify(spy).searchForAnotherRandomHostInTheClusterToStartSystemVmExcludingHosts(Mockito.any(ClusterVO.class), Matchers.anyListOf(HostVO.class));
    Assert.assertEquals(host, result);
}