mockito subclass is generally not needed. However, java 25 will fail if its removed. Keeping for now but will review at a later date as mockito likely needs to do something for support there. At time of writing, do not see any open ticket in regards to this.