@Test public void setSharingUntil() throws Exception { groupMembership2.setSharingUntil(date2); assertEquals(date2, groupMembership2.getSharingUntil()); }
public void setSharingUntil(Date sharingUntil) { this.sharingUntil = sharingUntil; }
GroupMembership { public void setSharingUntil(Date sharingUntil) { this.sharingUntil = sharingUntil; } }
GroupMembership { public void setSharingUntil(Date sharingUntil) { this.sharingUntil = sharingUntil; } GroupMembership(int userId, int groupId); }
GroupMembership { public void setSharingUntil(Date sharingUntil) { this.sharingUntil = sharingUntil; } 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 setSharingUntil(Date sharingUntil) { this.sharingUntil = sharingUntil; } 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();  }