def METHOD_NAME(self):
    manager = self.create_peer()
    connections = manager.connections
    sysctl = ConnectionsManagerSysctl(connections)
    connections._sync_rotate_if_needed = MagicMock()
    self.assertEqual(connections._sync_rotate_if_needed.call_count, 0)
    sysctl.set('force_sync_rotate', ())
    self.assertEqual(connections._sync_rotate_if_needed.call_count, 1)
    self.assertEqual(connections._sync_rotate_if_needed.call_args.kwargs, {'force': True})