attestation: make dep injection easier
Ensure that dependencies are propagated to
Attestation prior to use. They could be pushed
via chained set_*() calls, but that seems unecessary
at present.
Additionally, define MockAttestation to avoid needing
to do dep injection all the time.
TEST=unittests pass in link
BUG=none
Change-Id: I4508008546fb4e65279681ca890d58be86fcfc22
Reviewed-on: https://chromium-review.googlesource.com/187700
Reviewed-by: Darren Krahn <dkrahn@chromium.org>
Tested-by: Will Drewry <wad@chromium.org>
Commit-Queue: Will Drewry <wad@chromium.org>
6 files changed