Anyone know how to verify an OCMock expect in Swift? Swift Doesn't use Exceptions so XCTest no longer includes XCTAssertNoThrow
. Is There any other way to verify a method was called with OCMock? I noticed in OCMock the verify function checks the expectations
array so I assume we could do XCTAssertTrue(mock.expectations == 0)
if we had access.
Trying to figure some of these more complicated things out since there is little to no docs around XCTests in Swift