mflint/SwiftMock

add support for throwing errors

Opened this issue · 0 comments

This might work similar to the returning() function:

mock
  .expect { $0.myFunc() }
  .throwing(MyError.error)