@Test
    void testExplicitUpperCaseIdField() {
        Schema schema = new Schema("test", MockApplicationPackage.createEmpty());
        SDDocumentType document = new SDDocumentType("test");
        schema.addDocument(document);
        SDField uri = new SDField(document, "URI", DataType.URI);
        uri.parseIndexingScript(schema.getName(), "{ summary | index }");
        document.addField(uri);

        new Processing(new TestProperties())
                .process(schema, new BaseDeployLogger(), new RankProfileRegistry(), new QueryProfiles(),
                         true, false, Set.of());

        assertNull(document.getField("uri"));
        assertNull(document.getField("Uri"));
        assertNotNull(document.getField("URI"));
    }
Tests that documents ids are treated as they should

@author bratseth
config-model/src/test/java/com/yahoo/schema/derived/IdTestCase.java