Interface InputStreamTests

    • Method Detail

      • inputStream

        InputStream inputStream()
        Returns the input stream to test.

        This method will be called only once for each test. This makes it possible to initialize the input stream in a method annotated with BeforeEach, and perform additional tests after the pre-defined test has finished.

        Returns:
        The input stream to test.
      • expectedContent

        byte[] expectedContent()
        Returns the expected content from created input streams.
        Returns:
        The expected content.