Class StubWithAction

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

public class StubWithAction extends Object

Stub building stage with actions attached.

  • Field Details

    • stub

      protected Stub stub
  • Constructor Details

    • StubWithAction

      public StubWithAction(Stub stub)
  • Method Details

    • mustHappen

      public void mustHappen()
      Should happen once
    • mustHappen

      public void mustHappen(int times)
      Set number of times it should happen
    • withSequence

      public StubWithSequence withSequence(Applicable... actions)