Class StubWithSequence

java.lang.Object
com.xebialabs.restito.builder.stub.StubWithSequence

public class StubWithSequence extends Object

Stub building stage with a sequence attached..

  • Field Details

    • stub

      protected Stub stub
  • Constructor Details

    • StubWithSequence

      public StubWithSequence(Stub stub)
  • Method Details

    • mustComplete

      public void mustComplete()
      Should receive requests for all steps of the sequence
    • whenExceeded

      public StubWithSequence whenExceeded(Applicable action)

      The action to apply for the requests that are exceeding the sequence configuration.