@Test public void testUserConstructorHappyCase() { int userId = user.getUserId(); assertThat(userId, is(FAKE_USER_ID)); }
public int getUserId() { return userId; }
User { public int getUserId() { return userId; } }
User { public int getUserId() { return userId; } User(int userId); }
User { public int getUserId() { return userId; } User(int userId); int getUserId(); String getCoverUrl(); void setCoverUrl(String coverUrl); String getFullName(); void setFullName(String fullName); String getEmail(); void setEmail(String email); String getDescription(); void setDescription(String description); int getFollowers(); void setFollowers(int followers); @Override String toString(); }
User { public int getUserId() { return userId; } User(int userId); int getUserId(); String getCoverUrl(); void setCoverUrl(String coverUrl); String getFullName(); void setFullName(String fullName); String getEmail(); void setEmail(String email); String getDescription(); void setDescription(String description); int getFollowers(); void setFollowers(int followers); @Override String toString();  }