shadows/framework/src/main/java/org/robolectric/shadows/ShadowUserManager.java
@Implementation(minSdk = JELLY_BEAN_MR2)
  protected Bundle getApplicationRestrictions(String packageName) {
    Bundle bundle = applicationRestrictions.get(packageName);
    return bundle != null ? bundle : new Bundle();
  }
@Implementation(minSdk = JELLY_BEAN_MR2)
  protected Bundle getApplicationRestrictions(String packageName) {
    Bundle bundle = applicationRestrictions.get(packageName);
    return bundle != null ? bundle : new Bundle();
  }
Compared to real Android, there is no check that the package name matches the application
package name and the method returns instantly.

@see #setApplicationRestrictions(String, Bundle)