AAID { @JsonValue @Override public String toString() { return String.format("%04X", v) + "#" + String.format("%04X", m); } AAID(String aaid); int getV(); int getM(); @JsonValue @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test void toString_test() { assertThat(new AAID("ABCD#1234").toString()).isEqualTo("ABCD#1234"); }