@Test public void setGroupId() throws Exception { groupMembership2.setGroupId(78787); assertEquals(78787, groupMembership2.getGroupId()); }
public void setGroupId(int groupId) { this.groupId = groupId; }
GroupMembership { public void setGroupId(int groupId) { this.groupId = groupId; } }
GroupMembership { public void setGroupId(int groupId) { this.groupId = groupId; } GroupMembership(int userId, int groupId); }
GroupMembership { public void setGroupId(int groupId) { this.groupId = groupId; } 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 void setGroupId(int groupId) { this.groupId = groupId; } 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();  }