@Test(expected = CloudRuntimeException.class)
public void allocateAndStartTheSystemVmTestConcurrentOperationException() throws Exception {

    LinkedHashMap<Network, List<? extends NicProfile>> networks = new LinkedHashMap<>();
    AutonomiccsSystemVm autonomiccsSystemVm = Mockito.mock(AutonomiccsSystemVm.class);
    configureAllocateAndStartTheSystemVmTest(networks, autonomiccsSystemVm, null, null, null);
    configureAdvanceStartException(Mockito.mock(ConcurrentOperationException.class), null, null);
    spy.allocateAndStartTheSystemVm(Mockito.mock(VMTemplateVO.class), Mockito.mock(DataCenterDeployment.class), networks, autonomiccsSystemVm);
    verifyAllocateAndStartTheSystemVmTest(networks, autonomiccsSystemVm, (HypervisorType) null, null, null, 1, 1, 1, 1);
}