/**
   * Output multiple file sets.
   *
   * @throws Exception if failed
   */
  @Test
  public void output_multiple() throws Exception {
    tester
        .options()
        .putExtraAttribute(
            HadoopFileIoProcessor.OPTION_EXPORTER_ENABLED, GenericOptionValue.ENABLED.getSymbol());
    JobflowInfo info = tester.compileJobflow(MultipleOutputJob.class);

    ModelOutput<Ex1> source = tester.openOutput(Ex1.class, tester.getImporter(info, "input"));
    writeTestData(source);
    source.close();

    assertThat(tester.run(info), is(true));

    List<Ex1> out1 = getList(Out1ExporterDesc.class);
    checkSids(out1);
    checlValues(out1, 100);

    List<Ex1> out2 = getList(Out2ExporterDesc.class);
    checkSids(out2);
    checlValues(out2, 200);

    List<Ex1> out3 = getList(Out3ExporterDesc.class);
    checkSids(out3);
    checlValues(out3, 300);

    List<Ex1> out4 = getList(Out4ExporterDesc.class);
    checkSids(out4);
    checlValues(out4, 400);
  }
 /**
  * root folder.
  *
  * @throws Exception expected
  */
 @Test(expected = IOException.class)
 public void validate_root() throws Exception {
   tester
       .options()
       .putExtraAttribute(
           HadoopFileIoProcessor.OPTION_EXPORTER_ENABLED, GenericOptionValue.ENABLED.getSymbol());
   tester.compileJobflow(RootOutputJob.class);
 }