def METHOD_NAME(
    self, adapter, switch, nics, **kwargs
):
    NETCREATE = {
        NETWORK_NAME: {'nic': nics[0], 'bridged': False, 'switch': switch}
    }
    NETCREATE[NETWORK_NAME].update(kwargs)
    BROKEN_NETCREATE = {
        NETWORK_NAME: {
            'bonding': BOND_NAME,
            'bridged': True,
            'vlan': VLAN,
            'netmask': '300.300.300.300',
            'ipaddr': '300.300.300.300',
            'switch': switch,
        }
    }
    BONDCREATE = {BOND_NAME: {'nics': nics, 'switch': switch}}
    with adapter.setupNetworks(NETCREATE, {}, NOCHK):
        with pytest.raises(SetupNetworksError):
            adapter.setupNetworks(BROKEN_NETCREATE, BONDCREATE, NOCHK)
        adapter.update_netinfo()
        adapter.assertNetwork(NETWORK_NAME, NETCREATE[NETWORK_NAME])
        adapter.assertNoBond(BOND_NAME)