add support for throwing errors
Opened this issue · 0 comments
mflint commented
This might work similar to the returning()
function:
mock
.expect { $0.myFunc() }
.throwing(MyError.error)
Opened this issue · 0 comments
This might work similar to the returning()
function:
mock
.expect { $0.myFunc() }
.throwing(MyError.error)