XCTAssertEqual 这个或那个

XCTAssertEqual this or that

是否可以测试结果是否是两个选项之一?

例如:

let result = "apple" //Could be "apple" or "orange"
let expected1 = "apple"
let expected2 = "orange"

XCTAssertEqual(result, expected1 || expected2)
XCTAssert(result.isEqual(expected1) || result.isEqual(expected2))