hunk.code_window:     }
       try {
         JSONObject object = new JSONObject(json);
         return new ExponentNotification(object.getString(NotificationConstants.NOTIFICATION_EXPERIENCE_ID_KEY), object.getString(NotificationConstants.NOTIFICATION_MESSAGE_KEY), object.getInt(NotificationConstants.NOTIFICATION_ID_KEY), object.getBoolean(NotificationConstants.NOTIFICATION_IS_MULTIPLE_KEY), object.getBoolean(NotificationConstants.NOTIFICATION_REMOTE_KEY));
       } catch (JSONException e) {
         EXL.e(TAG, e.toString());
         return null;
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:       String body = object.optString(NotificationConstants.NOTIFICATION_DATA_KEY, null);
         if (body == null) {
           body = object.optString(NotificationConstants.NOTIFICATION_MESSAGE_KEY, null);
         }
         return new ExponentNotification(object.getString(NotificationConstants.NOTIFICATION_EXPERIENCE_ID_KEY), body, object.getInt(NotificationConstants.NOTIFICATION_ID_KEY), object.getBoolean(NotificationConstants.NOTIFICATION_IS_MULTIPLE_KEY), object.getBoolean(NotificationConstants.NOTIFICATION_REMOTE_KEY));
  
hunk.file_path: android/expoview/src/main/java/host/exp/exponent/notifications/ExponentNotification.java
hunk.type: replace
file: import ApiV2Error from 'ApiV2Error';
  
  it(`works with instanceof`, () => {
    let error = new ApiV2Error('Testing');
    expect(error instanceof ApiV2Error).toBe(true);
  });
  
  it(`extends Error`, () => {
    let error = new ApiV2Error('Testing');
    expect(error instanceof Error).toBe(true);
  });
  
  it(`includes the error type when stringified`, () => {
    let error = new ApiV2Error('Testing');
    expect(`${error}`).toBe('ApiV2Error: Testing');
  });
  