code: public void removeSystemService(String name) {
      ((ShadowContextImpl) Shadow.extract(realContextWrapper.getBaseContext()))
          .removeSystemService(name);
    }
docs: Makes {@link Context#getSystemService(String)} return {@code null} for the given system service
  name, mimicking a device that doesn't have that system service.