Mock: Use "end" when indexing
Mock: Use "end" when indexing

When adding to the end of the allInvocations cell array, use "end"
instead of "size(obj.allInvocations, 1)" -- it is easier to read and
even seems to be slightly faster.

vperic/mmockito