### Question:
Address { public Long getId() { return id; } Address();  Address(Long id, String street1, String street2, String city, String state, String zipcode, String country); Long getId(); void setId(Long id); String getStreet1(); void setStreet1(String street1); String getStreet2(); void setStreet2(String street2); String getCity(); void setCity(String city); String getState(); void setState(String state); String getZipcode(); void setZipcode(String zipcode); String getCountry(); void setCountry(String country);  }### Answer:
@Test public void shouldCreateAnAddress() throws Exception { Address address = new Address(getRandomId(), "65B Ritherdon Rd", "At James place", "London", "LDN", "7QE554", "UK"); tx.begin(); em.persist(address); tx.commit(); assertNotNull(address.getId(), "Id should not be null"); }