### Question:
DynamicLinkData extends AbstractSafeParcelable { public void setRedirectUrl(Uri redirectUrl) { this.redirectUrl = redirectUrl; } @SafeParcelable.Constructor  DynamicLinkData(
      @Param(id = 1) String dynamicLink,
      @Param(id = 2) String deepLink,
      @Param(id = 3) int minVersion,
      @Param(id = 4) long clickTimestamp,
      @Param(id = 5) Bundle extensions,
      @Param(id = 6) Uri redirectUrl); String getDynamicLink(); void setDynamicLink(String dynamicLink); String getDeepLink(); void setDeepLink(String deepLink); int getMinVersion(); void setMinVersion(int minVersion); long getClickTimestamp(); void setClickTimestamp(long timestamp); Bundle getExtensionBundle(); void setRedirectUrl(Uri redirectUrl); Uri getRedirectUrl(); void setExtensionData(Bundle bundle); @SuppressWarnings("static-access") @Override void writeToParcel(Parcel dest, int flags); static final Creator<DynamicLinkData> CREATOR; }### Answer:
@Test public void testSetRedirectUrl() { DynamicLinkData data = genEmptyDynamicLinkData(); assertNull(data.getRedirectUrl()); data.setRedirectUrl(updateAppUri); assertEquals(updateAppUri, data.getRedirectUrl()); }