Due to either the Java 17 upgrade or Mockito 4.2.0 upgrade, it seems it is no longer possible to Spy on the java.io.ByteArrayInputStream class.
Due to either the Java 17 upgrade or Mockito 4.2.0 upgrade, it seems it is no longer possible to Spy on the java.io.ByteArrayInputStream class.