@Test public void setSharing() throws Exception { groupMembership2.setSharing(true); assertTrue(groupMembership2.isSharing()); }
public void setSharing(boolean sharing) { this.sharing = sharing; }
GroupMembership { public void setSharing(boolean sharing) { this.sharing = sharing; } }
GroupMembership { public void setSharing(boolean sharing) { this.sharing = sharing; } GroupMembership(int userId, int groupId); }
GroupMembership { public void setSharing(boolean sharing) { this.sharing = sharing; } 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 setSharing(boolean sharing) { this.sharing = sharing; } 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();  }