Waits on an array of expectations and specifies whether they must be fulfilled in the given order.
- Xcode 8.3+
An array of expectations that must be fulfilled.
The number of seconds within which all expectations must be fulfilled.
YES, the expectations specified by the
expectationsparameter must be satisfied in the order they appear in the array.