kunit: mock: add parameter capturers

Adds the concept of an argument capturer which, when used with a matcher
in an EXPECT_CALL(...), will capture the value of the matching argument.

Change-Id: I9cb7e16a29e02f02c2ba997a94fa98140519ca51
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
2 files changed