Refactor unit tests for consistency

Signed-off-by: John Else <john.else@citrix.com>
Revert "XOP-261: Fix xapissl to initially start stunnel."

This reverts commit 0e1953118e86b813e4b9548f5c2328f45ca82619.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Revert "XOP-261: Restart stunnel only if conf file changed."

This reverts commit ef89d6f3d86e4d5598a74a89d33ae38d4e0f2bf7.

The original patch is not the right thing to do: the expectation
is that the restart function always restarts the service.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Revert "XOP-261: Make the himn_address persistent across reboot."

This reverts commit 59e987594ffebb66758293e48e7d7c8da779f306.

The original patch was not necessary.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Remove some unused stuff in Xapi_mgmt_iface

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Only restart stunnel when actually changing which IP xapi is listening on

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Merge pull request #1070 from robhoes/himn

XOP-261: HIMN-related fixes
Merge pull request #1054 from johnelse/unit-test-refactor

Refactor unit tests for consistency