Interface ResponseBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ResponseBuilder setCode​(io.github.henryssondaniel.teacup.core.assertion.GenericIntegerAssert<?> code)
      Sets the code.
      ResponseBuilder setText​(io.github.henryssondaniel.teacup.core.assertion.GenericStringAssert<?> text)
      Sets the text.
      • Methods inherited from interface io.github.henryssondaniel.teacup.protocol.Builder

        build
      • Methods inherited from interface io.github.henryssondaniel.teacup.protocol.NodeBuilder

        setAssertion
    • Method Detail

      • setCode

        ResponseBuilder setCode​(io.github.henryssondaniel.teacup.core.assertion.GenericIntegerAssert<?> code)
        Sets the code.
        Parameters:
        code - the code
        Returns:
        the response builder
        Since:
        1.0
      • setText

        ResponseBuilder setText​(io.github.henryssondaniel.teacup.core.assertion.GenericStringAssert<?> text)
        Sets the text.
        Parameters:
        text - the text
        Returns:
        the response builder
        Since:
        1.0