  @Test
  public void testFallbackToClassName() {

    TypeElement[][] places = {
      {place3, place4}, // place3 and place4 both extend directly from place1
      {place1, place2}, // place1 and place2 both extend directly from place
    };
    for (TypeElement[] pair : places) {
      assertThat(comparator.compare(pair[0], pair[1]))
          .named(String.format("compare(%s, %s)", pair[0], pair[1]))
          .isLessThan(0);
      assertThat(comparator.compare(pair[1], pair[0]))
          .named(String.format("compare(%s, %s)", pair[1], pair[0]))
          .isGreaterThan(0);
    }
  }