@Test public void isActionFailed_incorrectGroupVerifiesTrueKey() { this.pushResponse.response.put("incorrect_user_group", true); Assert.assertTrue(this.pushResponse.isActionFailed_incorrectGroup()); this.pushResponse.response.put("incorrect_user_group", false); Assert.assertFalse(this.pushResponse.isActionFailed_incorrectGroup()); }
@Override public boolean isActionFailed_incorrectGroup() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_KEY_NAME_ERROR_INCORRECTGROUP); }
DefaultPushServerSendPatientResponse extends DefaultPushServerGetPatientIDResponse implements
    PushServerSendPatientResponse { @Override public boolean isActionFailed_incorrectGroup() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_KEY_NAME_ERROR_INCORRECTGROUP); } }
DefaultPushServerSendPatientResponse extends DefaultPushServerGetPatientIDResponse implements
    PushServerSendPatientResponse { @Override public boolean isActionFailed_incorrectGroup() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_KEY_NAME_ERROR_INCORRECTGROUP); } DefaultPushServerSendPatientResponse(JSONObject serverResponse); }
DefaultPushServerSendPatientResponse extends DefaultPushServerGetPatientIDResponse implements
    PushServerSendPatientResponse { @Override public boolean isActionFailed_incorrectGroup() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_KEY_NAME_ERROR_INCORRECTGROUP); } 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_incorrectGroup() { return hasKeySetToTrue(ShareProtocol.SERVER_JSON_KEY_NAME_ERROR_INCORRECTGROUP); } 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();  }