Class MockServletInputStream

ServletInputStream
com.mockobjects.servlet.MockServletInputStream
All Implemented Interfaces:
Verifiable

public class MockServletInputStream extends ServletInputStream implements Verifiable
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    setupRead(byte[] data)
     
    void
    Throw an AssertionFailedException if any expectations have not been met.
  • Constructor Details

    • MockServletInputStream

      public MockServletInputStream()
  • Method Details

    • verify

      public void verify()
      Description copied from interface: Verifiable
      Throw an AssertionFailedException if any expectations have not been met.
      Specified by:
      verify in interface Verifiable
    • setupRead

      public void setupRead(byte[] data)
    • read

      public int read()