kunit: add parent method reference to expectation

This allows for the InSequence prereq checker to generate proper error
messages with the right method name in it. The prerequisite list only
stores references to expectations so expectations should have an
internal reference to the method it is placed on.

Change-Id: Id4c732ce2d4f2ca550c9e9a7dbb924b9f1d8d544
Signed-off-by: Felix Guo <felixguo@google.com>
2 files changed