IdVerification implements Parcelable { public String getLocale() { return locale; } private  IdVerification(); protected  IdVerification(Parcel in); Date getOemAccountInfoUpdatedDate(); Date getOemAccountCreatedDate(); Integer getSuspendedCardsInOemAccount(); Integer getLastOemAccountActivityDate(); Integer getDeviceLostModeDate(); Integer getDevicesWithIdenticalActiveToken(); Integer getActiveTokensOnAllDevicesForOemAccount(); Integer getOemAccountScore(); Integer getDeviceScore(); Boolean getNfcCapable(); String getOemAccountCountryCode(); String getDeviceCountry(); String getOemAccountUserName(); Date getDevicePairedToOemAccountDate(); String getDeviceTimeZone(); Integer getDeviceTimeZoneSetBy(); String getDeviceIMEI(); String getLocale(); void send(String connectorId, String callbackId); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); static final Parcelable.Creator<IdVerification> CREATOR; }
@Test public void test01_emptySetsLocale() { IdVerification verificationResponse = new IdVerification.Builder().build(); Assert.assertEquals(verificationResponse.getLocale(), "en-US"); }