@Test(expected = CloudRuntimeException.class)
public void getDefaultNetworkForAdvancedNetworkingWithSecurityGroupdsTestEmptyNetworkVoList() {

    DataCenterVO dc = Mockito.mock(DataCenterVO.class);
    Mockito.doReturn(new ArrayList<NetworkVO>()).when(networkDao).listByZoneSecurityGroup(Mockito.anyLong());
    spy.getDefaultNetworkForAdvancedNetworkingWithSecurityGroupds(0l, dc);
    Mockito.verify(networkDao).listByZoneSecurityGroup(Mockito.anyLong());
}