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) -> SelfParameters
policyNew policy
Return Value
Self with new policy
View on GitHub
WithStubbingPolicy Protocol Reference