def METHOD_NAME(centerline_branches, expectedvalue, paramname):
    centerline_branches_wrapped = dsa.WrapDataObject(centerline_branches)
    assert centerline_branches_wrapped.CellData.GetArray(paramname).tolist() == expectedvalue