@Test
    void testNestedTypeName() {
        ComponentId.resetGlobalCountersForTests();
        QueryProfileRegistry registry = new QueryProfileRegistry();
        QueryProfileType type = new QueryProfileType("testType");
        registry.getTypeRegistry().register(type);
        type.addField(new FieldDescription("ranking.features.query(embedding_profile)",
                        "tensor<float>(model{},x[128])"),
                registry.getTypeRegistry());
        QueryProfile test = new QueryProfile("test");
        registry.register(test);
        test.setType(type);
        CompiledQueryProfileRegistry cRegistry = registry.compile();
        Query query = new Query("?query=foo", cRegistry.getComponent("test"));

        // With a prefix we're not in the built-in type space
        query.properties().set("prefix.ranking.foo", 0.1);
        assertEquals(0.1, query.properties().get("prefix.ranking.foo"));
    }
Tests overriding a subprofile as an id string through the query.
Here, no user profile is set before it is assigned in the query
The whole thing is accessed through a two levels of nontyped top-level profiles
container-search/src/test/java/com/yahoo/search/query/profile/types/test/QueryProfileTypeTestCase.java