def METHOD_NAME(
    cobbler_api: CobblerAPI,
    create_distro: Callable[[str], distro.Distro],
    distro_collection: distros.Distros,
):
    # Arrange
    name = "test_to_list"
    item1 = create_distro(name)
    distro_collection.add(item1)
    # Act
    result = distro_collection.to_list()
    # Assert
    assert len(result) == 1
    assert result[0].get("name") == name