Add mock check and clear to RPMB mock backend tests

Check expected mocks to happen and clear mock registry to fix memory
leak in rpmb_backend_mock tests.

Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: If5316aece9d885e27c1dd9c010556fb16ff13f8d
1 file changed