### Question:
User implements Serializable { public String getUserId() { return userId; } 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 testGetUserId() { user.setUserId("admin"); assertEquals("admin", user.getUserId()); }