 }
 extension TestCase {
   func expectEqualSequence<S1: Sequence, S2: Sequence>(
-    _ actual: S1, _ expected: S2,
+    _ expected: S1, _ actual: S2,
     _ message: String? = nil
   ) where S1.Element: Equatable, S1.Element == S2.Element {
     if !actual.elementsEqual(expected) {

        mocking.forceErrno = .counted(errno: EINTR, count: 3)

        try body(interruptable)
        self.expectEqual(mocking.trace.dequeue(), self.expected) // EINTR
        self.expectEqual(mocking.trace.dequeue(), self.expected) // EINTR
        self.expectEqual(mocking.trace.dequeue(), self.expected) // EINTR
        self.expectEqual(mocking.trace.dequeue(), self.expected) // Success
      } catch Errno.interrupted {
        self.expectFalse(interruptable)
        self.expectEqual(mocking.trace.dequeue(), self.expected) // EINTR
      } catch {
        self.fail()
      }

        self.fail()
      } catch Errno.interrupted {
        // Success!
        self.expectEqual(self.expected, mocking.trace.dequeue())
      } catch {
        self.fail()
      }
