Interface InputStreamDelegateTests

    • Method Detail

      • wrapInputStream

        InputStream wrapInputStream​(InputStream delegate)
        Creates the input stream to test.

        This method will be called only once for each test. This makes it possible to capture the input stream to test and its delegate, and perform additional tests after the pre-defined test has finished.

        Parameters:
        delegate - The delegate to test against.
        Returns:
        The created input stream.