@Test public void getRemoteUserGroupsTest() throws ComponentLookupException { for (int i = 0; i < 10; i++) { this.serverResponse.accumulate("user_groups", i); this.expected.add(String.valueOf(i)); } Assert.assertEquals(this.expected, this.defaultPushServerConfigurationResponse.getRemoteUserGroups()); }
@Override public Set<String> getRemoteUserGroups() { return getSetFromJSONList(ShareProtocol.SERVER_JSON_GETINFO_KEY_NAME_USERGROUPS); }
DefaultPushServerConfigurationResponse extends DefaultPushServerResponse implements
    PushServerConfigurationResponse { @Override public Set<String> getRemoteUserGroups() { return getSetFromJSONList(ShareProtocol.SERVER_JSON_GETINFO_KEY_NAME_USERGROUPS); } }
DefaultPushServerConfigurationResponse extends DefaultPushServerResponse implements
    PushServerConfigurationResponse { @Override public Set<String> getRemoteUserGroups() { return getSetFromJSONList(ShareProtocol.SERVER_JSON_GETINFO_KEY_NAME_USERGROUPS); } DefaultPushServerConfigurationResponse(JSONObject serverResponse); }
DefaultPushServerConfigurationResponse extends DefaultPushServerResponse implements
    PushServerConfigurationResponse { @Override public Set<String> getRemoteUserGroups() { return getSetFromJSONList(ShareProtocol.SERVER_JSON_GETINFO_KEY_NAME_USERGROUPS); } DefaultPushServerConfigurationResponse(JSONObject serverResponse); @Override Set<String> getRemoteUserGroups(); @Override Set<String> getRemoteAcceptedPatientFields(); @Override Set<String> getRemoteAcceptedPatientFields(String groupName); @Override Set<String> getPushableFields(); @Override Set<String> getPushableFields(String groupName); @Override boolean remoteUpdatesEnabled(); @Override String getRemoteUserToken(); @Override JSONArray getConsents(); }
DefaultPushServerConfigurationResponse extends DefaultPushServerResponse implements
    PushServerConfigurationResponse { @Override public Set<String> getRemoteUserGroups() { return getSetFromJSONList(ShareProtocol.SERVER_JSON_GETINFO_KEY_NAME_USERGROUPS); } DefaultPushServerConfigurationResponse(JSONObject serverResponse); @Override Set<String> getRemoteUserGroups(); @Override Set<String> getRemoteAcceptedPatientFields(); @Override Set<String> getRemoteAcceptedPatientFields(String groupName); @Override Set<String> getPushableFields(); @Override Set<String> getPushableFields(String groupName); @Override boolean remoteUpdatesEnabled(); @Override String getRemoteUserToken(); @Override JSONArray getConsents();  }