CustomerDetails { public void setAddress(String address) { this.address = address; } CustomerDetails();  CustomerDetails(String name, String phone, String email, String address); String getAddress(); void setAddress(String address); String getPhone(); void setPhone(String phone); String getEmail(); void setEmail(String email); String getName(); void setName(String name);  }
@Test public void testSetAddress() throws Exception { customerDetails.setAddress(exampleText); assertEquals(customerDetails.getAddress(), exampleText); }