Mockingbird Documentation 0.17.0

Class Static​Mock

public class StaticMock: Mock  

Used to store invocations on static or class scoped methods.

StaticMock StaticMock Mock Mock StaticMock->Mock

Conforms To

Mock

All generated mocks conform to this protocol.

Properties

mocking​Context

public let mockingContext  

Information about received invocations.

stubbing​Context

public let stubbingContext  

Implementations for stubbing behaviors.

mock​Metadata

public let mockMetadata  

Static metadata about the mock created at generation time.

source​Location

public var sourceLocation: SourceLocation?  

Where the mock was initialized.