def METHOD_NAME(bond_cls, bond_args, params, force, energy):
    potential = bond_cls(**bond_args)
    potential.params['A-A'] = params
    for key in params:
        assert potential.params['A-A'][key] == pytest.approx(params[key])