Package fr.gouv.vitam.common.junit

# Class FixedPatternFakeInputStream

java.lang.Object
java.io.InputStream
org.apache.commons.io.input.AbstractInputStream
org.apache.commons.io.input.CircularInputStream
fr.gouv.vitam.common.junit.FixedPatternFakeInputStream

All Implemented Interfaces:
  `Closeable`, `AutoCloseable`

public class FixedPatternFakeInputStream extends org.apache.commons.io.input.CircularInputStream
Fake InputStream that repeats a pattern "data": test class only. This can safely by used for deterministic / predictable generation of content (same digest)

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FixedPatternFakeInputStream(long size)`

- ## Method Summary

  ### Methods inherited from class org.apache.commons.io.input.CircularInputStream

  `available, close, read`

  ### Methods inherited from class org.apache.commons.io.input.AbstractInputStream

  `isClosed, setClosed`

  ### Methods inherited from class java.io.InputStream

  `mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### FixedPatternFakeInputStream

    public FixedPatternFakeInputStream(long size)