@Test public void isActionFailed_GUIDAccessDeniedVerifiesTrueKey() { this.pushResponse.response.put("guid_access_denied", true); Assert.assertTrue(this.pushResponse.isActionFailed_GUIDAccessDenied()); this.pushResponse.response.put("guid_access_denied", false); Assert.assertFalse(this.pushResponse.isActionFailed_GUIDAccessDenied()); }
@Override public boolean isActionFailed_GUIDAccessDenied() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_KEY_NAME_ERROR_GUIDACCESSDENIED); }
DefaultPushServerSendPatientResponse extends DefaultPushServerGetPatientIDResponse implements
    PushServerSendPatientResponse { @Override public boolean isActionFailed_GUIDAccessDenied() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_KEY_NAME_ERROR_GUIDACCESSDENIED); } }
DefaultPushServerSendPatientResponse extends DefaultPushServerGetPatientIDResponse implements
    PushServerSendPatientResponse { @Override public boolean isActionFailed_GUIDAccessDenied() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_KEY_NAME_ERROR_GUIDACCESSDENIED); } DefaultPushServerSendPatientResponse(JSONObject serverResponse); }
DefaultPushServerSendPatientResponse extends DefaultPushServerGetPatientIDResponse implements
    PushServerSendPatientResponse { @Override public boolean isActionFailed_GUIDAccessDenied() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_KEY_NAME_ERROR_GUIDACCESSDENIED); } DefaultPushServerSendPatientResponse(JSONObject serverResponse); @Override boolean isActionFailed_incorrectGroup(); @Override boolean isActionFailed_UpdatesDisabled(); @Override boolean isActionFailed_IncorrectGUID(); @Override boolean isActionFailed_GUIDAccessDenied(); @Override boolean isActionFailed_MissingConsent(); @Override boolean isActionFailed_knownReason(); }
DefaultPushServerSendPatientResponse extends DefaultPushServerGetPatientIDResponse implements
    PushServerSendPatientResponse { @Override public boolean isActionFailed_GUIDAccessDenied() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_KEY_NAME_ERROR_GUIDACCESSDENIED); } DefaultPushServerSendPatientResponse(JSONObject serverResponse); @Override boolean isActionFailed_incorrectGroup(); @Override boolean isActionFailed_UpdatesDisabled(); @Override boolean isActionFailed_IncorrectGUID(); @Override boolean isActionFailed_GUIDAccessDenied(); @Override boolean isActionFailed_MissingConsent(); @Override boolean isActionFailed_knownReason();  }