@Test
  public void writeXml() {
    // @formatter:off
    sensei
        .assertWriteXml(withAllFields)
        .run(
            "<pobox>P.O. Box 1234;</pobox>"
                + "<ext>Apt, 11</ext>"
                + "<street>123 Main St</street>"
                + "<locality>Austin</locality>"
                + "<region>TX</region>"
                + "<code>12345</code>"
                + "<country>USA</country>");

    sensei
        .assertWriteXml(withSomeFields)
        .run(
            "<pobox>P.O. Box 1234;</pobox>"
                + "<ext/>"
                + "<street/>"
                + "<locality>Austin</locality>"
                + "<region>TX</region>"
                + "<code>12345</code>"
                + "<country/>");

    sensei
        .assertWriteXml(empty)
        .run(
            "<pobox/>"
                + "<ext/>"
                + "<street/>"
                + "<locality/>"
                + "<region/>"
                + "<code/>"
                + "<country/>");
    // @formatter:on
  }
 @Test
 public void writeXml() {
   TestProperty prop = new TestProperty("value");
   sensei.assertWriteXml(prop).run("<text>value</text>");
 }