verifyCalls method
Verify that the given command lines were called, in the given order, and that the parameters were in the same order.
Implementation
void verifyCalls(Iterable<FakeInvocationRecord> calls) {
var index = 0;
expect(invocations.length, equals(calls.length));
for (final call in calls) {
expect(call.invocation, orderedEquals(invocations[index].invocation));
expect(
call.workingDirectory, equals(invocations[index].workingDirectory));
index++;
}
}