'Register a mock response for GET on the CS user instance endpoint'

def register_subscribed_threads_response(self, user, threads, page, num_pages):

    httpretty.register_uri(httpretty.GET, u'http://localhost:4567/api/v1/users/{}/subscribed_threads'.format(user.id), body=json.dumps({u'collection': threads, u'page': page, u'num_pages': num_pages, u'thread_count': len(threads)}), status=200)
