ArgumentCaptor

public class ArgumentCaptor<ValueType>

Undocumented

  • Last captured value (if any)

    Declaration

    Swift

    public var value: ValueType? { get }
  • All captured values

    Declaration

    Swift

    public private(set) var allValues: [ValueType] { get }
  • Undocumented

    Declaration

    Swift

    public init()
  • Return parameter matcher which captures the argument.

    Declaration

    Swift

    public func capture(where matches: ((ValueType) -> Bool)? = nil) -> Parameter<ValueType>