@Test
public void mergeWithAccountingBlankHeaders_scenario1() {

    DataTable dt = new DataTable(1)
            .addRow("H1", "H2", "H3")
            .addRow("A1", "A2", "A3");
    DataTable dt2 = new DataTable(3)
            .addRow("H1", " ", "", "H2", "H3")
            .addRow("C1", "CX", "CY", "C2", "C3");
    List<DataTable> mergedList = DataTableUtils.mergeTablesSpanningMultiplePages(Arrays.asList(dt, dt2));
    assertThat(mergedList.size(), is(1));
    DataTable merged = mergedList.get(0);
    
    assertThat(merged.toString(), is("\n" +
            "+--------------+\n" +
            "|H1|  |  |H2|H3|\n" +
            "+--------------+\n" +
            "|A1|  |  |A2|A3|\n" +
            "+--------------+\n" +
            "|C1|CX|CY|C2|C3|\n" +
            "+--------------+\n"));
}