def METHOD_NAME(
    self, adapter, switch, bridged, nic0
):
    SETUP_NET = {
        NETWORK_NAME: {'nic': nic0, 'bridged': bridged, 'switch': switch}
    }
    with adapter.reset_persistent_config():
        with adapter.setupNetworks(SETUP_NET, {}, NOCHK):
            adapter.restore_nets()
            adapter.assertNoNetworkExists(NETWORK_NAME)