### Question:
Pet { public void setName(String name) { this.name = name; } Pet(@JsonProperty("id") Long id,
               @JsonProperty("name") String name); Long getId(); String getName(); void setId(Long id); void setName(String name); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testSetName() { Pet pet = new Pet(1L, "Falco"); String name = "Big Falco"; pet.setName(name); assertThat(pet.getName(), is(name)); }