@Test
public void setEachNicIpAddressTestNetworkTypeAdvanced() {

    AutonomiccsSystemVm autonomiccsSystemVm = Mockito.mock(AutonomiccsSystemVm.class);
    DataCenter dc = Mockito.mock(DataCenter.class);
    Mockito.when(dc.getNetworkType()).thenReturn(NetworkType.Advanced);
    List<NicProfile> nics = createNicsOfManagementTrafficControlTrafficAndTheGivenTraffic(TrafficType.Public);
    configureDoNothingAtSetEachNicIpAddressTests(autonomiccsSystemVm);
    spy.setIpAddressOfEachNic(autonomiccsSystemVm, dc, nics);
    verifySetEachNicIpAddressCalledMethods(autonomiccsSystemVm, 1, 1, 1);
}