Mockingbird Documentation 0.18.0

Class Invocation​Recorder

@objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject  

Records invocations for stubbing and verification.

InvocationRecorder InvocationRecorder NSObject NSObject InvocationRecorder->NSObject

Nested Types

InvocationRecorder.Mode

Used to attribute declarations to stubbing and verification calls in tests.

Conforms To

NSObject

Properties

mode

@objc public let mode: Mode

shared​Recorder

@objc public static var sharedRecorder: InvocationRecorder?  

The global invocation recorder instance.

Methods

record​Invocation(_:​context:​)

@objc public func recordInvocation(_ invocation: ObjCInvocation, context: Context)  

get​Facade​Value(at:​arguments​Count:​)

@objc public func getFacadeValue(at argumentIndex: Int, argumentsCount: Int) -> Any?