WithStubbingPolicy

public protocol WithStubbingPolicy : AnyObject

[Internal] used for marking that stubs have configurable policy

  • Stubbing policy

    Declaration

    Swift

    var policy: StubbingPolicy { get set }
  • with(_:) Default implementation

    [Internal] with new policy

    Default Implementation

    [Internal] with new policy

    Declaration

    Swift

    func with(_ policy: StubbingPolicy) -> Self

    Parameters

    policy

    New policy

    Return Value

    Self with new policy