@Test public void getGroupId() throws Exception { assertEquals(ids[0], userGroup1.getGroupId()); }
public int getGroupId() { return groupId; }
UserGroup { public int getGroupId() { return groupId; } }
UserGroup { public int getGroupId() { return groupId; } UserGroup(int groupId, String name); }
UserGroup { public int getGroupId() { return groupId; } 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 int getGroupId() { return groupId; } 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();  }