def METHOD_NAME(self):
    query = SIA2Query('someurl')
    query.field_of_view.add((10, 20))
    assert query['FOV'] == ['10.0 20.0']
    query.field_of_view.add((1 * u.rad, 60))
    assert query['FOV'] == ['10.0 20.0', '57.29577951308232 60.0']
    query.spatial_resolution.add((1 * u.arcsec, 2))
    assert query['SPATRES'] == ['1.0 2.0']
    query.spectral_resolving_power.add((3, 5))
    assert query['SPECRP'] == ['3 5']
    query.exptime.add((25, 50))
    assert query['EXPTIME'] == ['25.0 50.0']
    query.timeres.add((1, 3))
    assert query['TIMERES'] == ['1.0 3.0']
    query.publisher_did.add('ID1')
    query.publisher_did.add('ID2')
    assert query['ID'] == ['ID1', 'ID2']
    query.facility.add('TEL1')
    assert query['FACILITY'] == ['TEL1']
    query.collection.add('ABC')
    query.collection.add('EFG')
    assert query['COLLECTION'] == ['ABC', 'EFG']
    query.instrument.add('INST1')
    assert query['INSTRUMENT'] == ['INST1']
    query.data_type.add('TYPEA')
    assert query['DPTYPE'] == ['TYPEA']
    query.calib_level.add(0)
    query.calib_level.add(1)
    assert query['CALIB'] == ['0', '1']
    query.target_name.add('TARGET1')
    assert query['TARGET'] == ['TARGET1']
    query.res_format.add('pdf')
    assert query['FORMAT'] == ['pdf']
    query.maxrec = 1000
    assert query['MAXREC'] == '1000'
    query = SIA2Query('someurl', custom_param=23)
    assert query['custom_param'] == ['23']
    query['custom_param'].append('-Inf 0')
    assert query['custom_param'] == ['23', '-Inf 0']
    query = SIA2Query('someurl', custom_param=[('-Inf', 0), (2, '+Inf')])
    assert query['custom_param'] == ['-Inf 0', '2 +Inf']
    with pytest.warns(AstropyDeprecationWarning):
        deprecated_query = SIAQuery('someurl')
        deprecated_query.field_of_view.add((10, 20))
        assert deprecated_query['FOV'] == ['10.0 20.0']