@Test
public void innerJoinStudentInstructorDeptHeadOnStateAge() {

  Table table1 = createSTUDENT();
  Table table2 = createINSTRUCTOR();
  Table table3 = createDEPTHEAD();
  Table joined = table1.joinOn("State", "Age").inner(true, table2, table3);
  assert (joined
      .columnNames()
      .containsAll(
          Arrays.asList(
              "T2.ID",
              "T2.City",
              "T2.USID",
              "T2.GradYear",
              "T3.ID",
              "T3.First",
              "T3.Last",
              "T3.City")));
  assertEquals(20, joined.columnCount());
  assertEquals(1, joined.rowCount());
}