@Test public void remoteUpdatesAvailableTest() { this.serverResponse.accumulate("updates_enabled", true); Assert.assertTrue(this.defaultPushServerConfigurationResponse.remoteUpdatesEnabled()); }
@Override public boolean remoteUpdatesEnabled() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_GETINFO_KEY_NAME_UPDATESENABLED); }
DefaultPushServerConfigurationResponse extends DefaultPushServerResponse implements
    PushServerConfigurationResponse { @Override public boolean remoteUpdatesEnabled() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_GETINFO_KEY_NAME_UPDATESENABLED); } }
DefaultPushServerConfigurationResponse extends DefaultPushServerResponse implements
    PushServerConfigurationResponse { @Override public boolean remoteUpdatesEnabled() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_GETINFO_KEY_NAME_UPDATESENABLED); } DefaultPushServerConfigurationResponse(JSONObject serverResponse); }
DefaultPushServerConfigurationResponse extends DefaultPushServerResponse implements
    PushServerConfigurationResponse { @Override public boolean remoteUpdatesEnabled() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_GETINFO_KEY_NAME_UPDATESENABLED); } 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 boolean remoteUpdatesEnabled() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_GETINFO_KEY_NAME_UPDATESENABLED); } 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();  }