@Test
public void basic() {

  String output = table.write().toString("html");
  assertEquals(
      "<table>"
          + LINE_END
          + " <thead>"
          + LINE_END
          + "  <tr>"
          + LINE_END
          + "   <th>v</th>"
          + LINE_END
          + "   <th>v2</th>"
          + LINE_END
          + "  </tr>"
          + LINE_END
          + " </thead>"
          + LINE_END
          + " <tbody>"
          + LINE_END
          + "  <tr>"
          + LINE_END
          + "   <td>1</td>"
          + LINE_END
          + "   <td>1</td>"
          + LINE_END
          + "  </tr>"
          + LINE_END
          + "  <tr>"
          + LINE_END
          + "   <td>2</td>"
          + LINE_END
          + "   <td>2</td>"
          + LINE_END
          + "  </tr>"
          + LINE_END
          + "  <tr>"
          + LINE_END
          + "   <td></td>"
          + LINE_END
          + "   <td></td>"
          + LINE_END
          + "  </tr>"
          + LINE_END
          + " </tbody>"
          + LINE_END
          + "</table>",
      output);
}