### Question:
User implements Serializable { public String getName() { return firstName + " " + lastName; } User(String userId, String firstName, String lastName); String getUserId(); void setUserId(String userId); String getFirstName(); void setFirstName(String firstName); String getLastName(); void setLastName(String lastName); String getName(); String toString();  }### Answer:
@Test public void testGetName() { user.setFirstName("Jane"); user.setLastName("Doe"); assertEquals("Jane Doe", user.getName()); }