private DocsumDefinitionSet createDocsumDefinitionSet() {
        var schema = new Schema.Builder("test");
        var summary = new DocumentSummary.Builder("default");
        summary.add(new DocumentSummary.Field("integer_field", "integer"));
        summary.add(new DocumentSummary.Field("short_field", "short"));
        summary.add(new DocumentSummary.Field("byte_field", "byte"));
        summary.add(new DocumentSummary.Field("float_field", "float"));
        summary.add(new DocumentSummary.Field("double_field", "double"));
        summary.add(new DocumentSummary.Field("int64_field", "int64"));
        summary.add(new DocumentSummary.Field("string_field", "string"));
        summary.add(new DocumentSummary.Field("data_field", "data"));
        summary.add(new DocumentSummary.Field("longstring_field", "longstring"));
        summary.add(new DocumentSummary.Field("longdata_field", "longdata"));
        summary.add(new DocumentSummary.Field("xmlstring_field", "xmlstring"));
        summary.add(new DocumentSummary.Field("jsonstring_field", "jsonstring"));
        summary.add(new DocumentSummary.Field("tensor_field1", "tensor"));
        summary.add(new DocumentSummary.Field("tensor_field2", "tensor"));
        summary.add(new DocumentSummary.Field("summaryfeatures", "featuredata"));
        schema.add(summary.build());
        return new DocsumDefinitionSet(schema.build());
    }
Asserts that the expected fields are what is returned from every access method of Hit
container-search/src/test/java/com/yahoo/prelude/fastsearch/SlimeSummaryTestCase.java