StubBehavior

public enum StubBehavior

Controls how stub responses are returned.

  • Do not stub.

    Declaration

    Swift

    case never
  • Return a response immediately.

    Declaration

    Swift

    case immediate
  • Return a response after a delay.

    Declaration

    Swift

    case delayed(seconds: TimeInterval)