Protocols

The following protocols are available globally.

  • Use for mocking instance methods, all methods in this protocol are implemented in extension and should not be implemented by conforming type

    See more

    Declaration

    Swift

    public protocol MockedObject: class
  • Use for mocking static methods, all methods in this protocol are implemented in extension and should not be implemented by conforming type

    See more

    Declaration

    Swift

    public protocol MockedType: class