def METHOD_NAME(request, result):
    if request.param == 'set':
        result.METHOD_NAME.set('detail1', 'value1')
        result.METHOD_NAME.set('detail2', 'value2')
    if request.param == 'append':
        result.METHOD_NAME.append('detail1', 'value1')
        result.METHOD_NAME.append('detail1', 'value2')
    if request.param == 'complex':
        result.METHOD_NAME.append('detail1', 'value1')
        result.METHOD_NAME.append(
            'detail1', {'complex': ['value2', 'value3']})
    if request.param == 'float':
        result.METHOD_NAME.append('detail1', 12.3456)
        result.METHOD_NAME.append('detail1', {'complex': [9.7531]})
    if request.param == 'int':
        result.METHOD_NAME.append('detail1', 1)
        result.METHOD_NAME.append('detail1', {'complex': [2]})
    return result.METHOD_NAME.all()