@Test
public void innerJoinAnimalPeopleTreeOnAgeHome() {

  Table table1 = createANIMALHOMES();
  Table table2 = createDOUBLEINDEXEDPEOPLENameHomeAgeMoveInDate();
  Table table3 = createTREE();
  Table table4 = createFLOWER();
  Table joined = table1.joinOn("Age", "Home").inner(true, table2, table3, table4);
  assert (joined
      .columnNames()
      .containsAll(
          Arrays.asList(
              "Animal",
              "Name",
              "Home",
              "Age",
              "MoveInDate",
              "ID",
              "T2.Name",
              "T2.MoveInDate",
              "T3.Name",
              "T4.Name",
              "Color")));
  assertEquals(11, joined.columnCount());
  assertEquals(2, joined.rowCount());
}