Multiple Protocols
Pre-release
Pre-release
- Supports a mock conforming to one or many protocols.
- Supports a mock conforming to a protocol who also conforms to other protocols.
- Ignores classes or type which cannot be resolved.
- Removes duplicate initializers, properties and methods from multiple protocols.
- Adds default return type for closures and tuples where possible.
- Supports most initializers (generic initializers not yet supported).
Breaking changes
- No longer calls empty closures automatically. You must now instruct the mock to call empty closures just like you would closures with arguments. Example:
myMock.shouldInvokeEmptyClosure = true