def METHOD_NAME(
    test_nested_collection_fields: DatasetCollection,
) -> None:
    """
    Tests unpacking fields from a data collection results in the
    correct number of fields being returned to be evaluated.
    """
    collection = test_nested_collection_fields
    collected_field_names = []
    for field in core_utils.get_all_level_fields(collection.dict()["fields"]):
        collected_field_names.append(field["name"])
    assert len(collected_field_names) == 5