Testing a method that has a try-catch inside it using XCTest stops executing | Heykuki News