@Test
public void getSystemVmNetworksTest() {

    List<NetworkOffering> offerings = new ArrayList<>();
    NetworkOffering offering = Mockito.mock(NetworkOfferingVO.class);
    offerings.add(offering);
    Network net2 = Mockito.mock(Network.class);
    List<Network> nets2 = new ArrayList<>();
    nets2.add(net2);
    String stringNull = null;
    Mockito.doReturn(nets2).when(networkManager).setupNetwork(Mockito.any(Account.class), Mockito.eq(offering), Mockito.any(DataCenterDeployment.class),
            Mockito.eq(stringNull), Mockito.eq(stringNull), Mockito.eq(false));
    executeGetSystemVmNetworksTest(offerings, 2);
    Mockito.verify(networkManager).setupNetwork(Mockito.any(Account.class), Mockito.eq(offering), Mockito.any(DataCenterDeployment.class), Mockito.eq(stringNull),
            Mockito.eq(stringNull), Mockito.eq(false));
}