code: @Deprecated
    @Implementation
    protected int getPixelFormat() {
      return pixelFormat == null
          ? directlyOn(realObject, Display.class).getPixelFormat()
          : pixelFormat;
    }
docs: If {@link #setPixelFormat(int)} has been called, this method will return the specified value.
  
  @deprecated This behavior is deprecated and will be removed in Robolectric 3.7.