### Question:
PersistentId implements Serializable { public String getNameId() { return nameId; } @SuppressWarnings("unused")//Needed by JAXB private  PersistentId(); @JsonCreator  PersistentId(@JsonProperty("nameId") String nameId); String getNameId(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void getNameId() { assertThat(persistentId.getNameId()).isEqualTo(NAME_ID); }