There are two mocking frameworks used in Drupal core. Both are shipped by PHPUnit. Prophecy is the modern one.
Personally, I prefer mocking with Prophecy. So I would suggest promoting Prophecy and stick with it in Drupal core.
In general:
Needs discussion:
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.