@Override
    public void process(boolean validate, boolean documentsOnly) {
        schema.allImportedFields()
              .forEach(this::setTransform);
    }
@Test
    void attribute_summary_transform_applied_to_summary_field_of_imported_field() {
        Schema schema = createSearchWithDocument(DOCUMENT_NAME);
        schema.setImportedFields(createSingleImportedField(IMPORTED_FIELD_NAME));
        schema.addSummary(createDocumentSummary(IMPORTED_FIELD_NAME, schema));

        AddDataTypeAndTransformToSummaryOfImportedFields processor = new AddDataTypeAndTransformToSummaryOfImportedFields(
                schema, null, null, null);
        processor.process(true, false);
        SummaryField summaryField = schema.getSummaries().get(SUMMARY_NAME).getSummaryField(IMPORTED_FIELD_NAME);
        SummaryTransform actualTransform = summaryField.getTransform();
        assertEquals(SummaryTransform.ATTRIBUTE, actualTransform);
    }