@Test public void setSharingLocation() throws Exception { userGroup2.setSharingLocation(true); assertTrue(userGroup2.isSharingLocation()); }
public void setSharingLocation(boolean sharingLocation) { isSharingLocation = sharingLocation; }
UserGroup { public void setSharingLocation(boolean sharingLocation) { isSharingLocation = sharingLocation; } }
UserGroup { public void setSharingLocation(boolean sharingLocation) { isSharingLocation = sharingLocation; } UserGroup(int groupId, String name); }
UserGroup { public void setSharingLocation(boolean sharingLocation) { isSharingLocation = sharingLocation; } UserGroup(int groupId, String name); int getGroupId(); void setGroupId(int groupId); String getName(); void setName(String name); boolean isSharingLocation(); void setSharingLocation(boolean sharingLocation); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
UserGroup { public void setSharingLocation(boolean sharingLocation) { isSharingLocation = sharingLocation; } UserGroup(int groupId, String name); int getGroupId(); void setGroupId(int groupId); String getName(); void setName(String name); boolean isSharingLocation(); void setSharingLocation(boolean sharingLocation); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }