### Question:
NationalPokedexNumber { @Override public boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final NationalPokedexNumber that = (NationalPokedexNumber) o; return number == that.number; } private  NationalPokedexNumber(final int number); static NationalPokedexNumber valueOf(final int number); int toInt(); @Override boolean equals(final Object o); @Override int hashCode();  }### Answer:
@Test void equals() { final NationalPokedexNumber actual = NationalPokedexNumber.valueOf(1); assertThat(actual).isEqualTo(NationalPokedexNumber.valueOf(1)); }