Fix unit tests: add missing functions
Fix unit tests: add missing functions

8451d6ee343b36351a6b6e5b132f2bd5aa1ea393 updated the interface which
caused the tests to fail to build.

Signed-off-by: Edwin Török <c8d178016cbaf8a6ef23c2cbc9db96123c48b7dc@citrix.com>

xapi-project/message-switch,xapi-project/message-switch,xapi-project/message-switch