### Question:
Address implements Serializable { public void setTown(String town) { this.town = town; changeType(Type.STRUCTURED); }  Type getType(); String getName(); void setName(String name); String getAddressLine1(); void setAddressLine1(String addressLine1); String getAddressLine2(); void setAddressLine2(String addressLine2); String getStreet(); void setStreet(String street); String getHouseNo(); void setHouseNo(String houseNo); String getPostalCode(); void setPostalCode(String postalCode); String getTown(); void setTown(String town); String getCountryCode(); void setCountryCode(String countryCode); void clear(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test void setTown() { Address address = new Address(); address.setTown("IOPU-KU"); assertEquals("IOPU-KU", address.getTown()); assertEquals(Address.Type.STRUCTURED, address.getType()); }