public static void setPreviewResult(PreviewResult result) {
        previewResult = result;
    }
This plugin is used for TestingEmbulk.InputBuilder.preview().
embulk-junit4/src/main/java/org/embulk/test/PreviewResultInputPlugin.java