@Test public void testGetLastName() { user.setLastName("Doe"); assertEquals("Doe", user.getLastName()); }
public String getLastName() { return lastName; }
User implements Serializable { public String getLastName() { return lastName; } }
User implements Serializable { public String getLastName() { return lastName; } User(String userId, String firstName, String lastName); }
User implements Serializable { public String getLastName() { return 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(); }
User implements Serializable { public String getLastName() { return 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();  }