public void test_withEra_swap() {

    ChronoLocalDate<ThaiBuddhistChrono> base = ThaiBuddhistChrono.INSTANCE.date(-2554, 8, 29);
    ChronoLocalDate<ThaiBuddhistChrono> test = base.with(ChronoField.ERA, ThaiBuddhistChrono.ERA_BE.getValue());
    assertEquals(test, ThaiBuddhistChrono.INSTANCE.date(2555, 8, 29));
  }

  // -----------------------------------------------------------------------
  // BuddhistDate.with(Local*)
  // -----------------------------------------------------------------------
  @Test(groups = { "tck" }