shadows/framework/src/main/java/org/robolectric/shadows/ShadowTelephonyManager.java
@Implementation(minSdk = O)
  protected void setVoicemailRingtoneUri(PhoneAccountHandle handle, Uri uri) {
    voicemailRingtoneUriMap.put(handle, uri);
  }
@Implementation(minSdk = O)
  protected void setVoicemailRingtoneUri(PhoneAccountHandle handle, Uri uri) {
    voicemailRingtoneUriMap.put(handle, uri);
  }
Sets the value returned by {@link
TelephonyManager#getVoicemailRingtoneUri(PhoneAccountHandle)}.