Interface ReaderDelegateTests

    • Method Detail

      • wrapReader

        Reader wrapReader​(Reader delegate)
        Creates the reader to test.

        This method will be called only once for each test. This makes it possible to capture the reader 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 reader.