@Test public void getUserId() throws Exception { assertEquals(ids[0], groupMembership1.getUserId()); }
public int getUserId() { return userId; }
GroupMembership { public int getUserId() { return userId; } }
GroupMembership { public int getUserId() { return userId; } GroupMembership(int userId, int groupId); }
GroupMembership { public int getUserId() { return userId; } GroupMembership(int userId, int groupId); int getUserId(); void setUserId(int userId); int getGroupId(); void setGroupId(int groupId); Date getSharingUntil(); void setSharingUntil(Date sharingUntil); boolean isSharing(); void setSharing(boolean sharing); @Override boolean equals(Object o); @Override int hashCode(); }
GroupMembership { public int getUserId() { return userId; } GroupMembership(int userId, int groupId); int getUserId(); void setUserId(int userId); int getGroupId(); void setGroupId(int groupId); Date getSharingUntil(); void setSharingUntil(Date sharingUntil); boolean isSharing(); void setSharing(boolean sharing); @Override boolean equals(Object o); @Override int hashCode();  }