@Test public void testObjectBehaviour() { UserAddress userAddress = new UserAddress(ADDRESS, CITY, STATE, POSTALCODE, COUNTRYCODE); assertEquals(ADDRESS, userAddress.getAddress()); assertEquals(CITY, userAddress.getCity()); assertEquals(STATE, userAddress.getState()); assertEquals(POSTALCODE, userAddress.getPostalCode()); assertEquals(COUNTRYCODE, userAddress.getCountryCode()); }
static void a(UserAddress useraddress, Parcel parcel, int i) { i = com.google.android.gms.common.internal.safeparcel.b.bU(parcel); com.google.android.gms.common.internal.safeparcel.b.c(parcel, 1, useraddress.getVersionCode()); com.google.android.gms.common.internal.safeparcel.b.a(parcel, 2, useraddress.name, false); com.google.android.gms.common.internal.safeparcel.b.a(parcel, 3, useraddress.asT, false); com.google.android.gms.common.internal.safeparcel.b.a(parcel, 4, useraddress.asU, false); com.google.android.gms.common.internal.safeparcel.b.a(parcel, 5, useraddress.asV, false); com.google.android.gms.common.internal.safeparcel.b.a(parcel, 6, useraddress.asW, false); com.google.android.gms.common.internal.safeparcel.b.a(parcel, 7, useraddress.asX, false); com.google.android.gms.common.internal.safeparcel.b.a(parcel, 8, useraddress.asY, false); com.google.android.gms.common.internal.safeparcel.b.a(parcel, 9, useraddress.asZ, false); com.google.android.gms.common.internal.safeparcel.b.a(parcel, 10, useraddress.vk, false); com.google.android.gms.common.internal.safeparcel.b.a(parcel, 11, useraddress.ata, false); com.google.android.gms.common.internal.safeparcel.b.a(parcel, 12, useraddress.atb, false); com.google.android.gms.common.internal.safeparcel.b.a( parcel, 13, useraddress.phoneNumber, false); com.google.android.gms.common.internal.safeparcel.b.a(parcel, 14, useraddress.atc); com.google.android.gms.common.internal.safeparcel.b.a(parcel, 15, useraddress.atd, false); com.google.android.gms.common.internal.safeparcel.b.a(parcel, 16, useraddress.ate, false); com.google.android.gms.common.internal.safeparcel.b.J(parcel, i); }