I wonder in general why this exists, a simple GMock wrapper around `HSSConnection` would give us more flexibility with less code.  Not an actual code review comment, but if you agree I'll raise a low-priority issue to fix this up at some point.