def METHOD_NAME(self, client, created_entities):
    name = verta._internal_utils._utils.generate_default_name()
    with pytest.raises(ValueError):
        client.get_registered_model(name)
    registered_model = client.set_registered_model(name)
    created_entities.append(registered_model)
    assert (
        registered_model.id == client.get_registered_model(registered_model.name).id
    )
    assert (
        registered_model.id
        == client.get_registered_model(id=registered_model.id).id
    )