def METHOD_NAME(expected_object, serialized):
    repository_index = AgentPluginRepositoryIndex(**serialized)
    assert repository_index == expected_object
    for agent_plugin_type in repository_index.plugins.keys():
        assert isinstance(agent_plugin_type, Enum)