'``auto_threaded`` works with ``twisted.python.threads.ThreadPool``.'

@capture_logging(assert_context_preserved)
def test_integration(self, logger):

    from twisted.internet import reactor
    threadpool = ThreadPool(minthreads=1, name=self.id())
    threadpool.start()
    self.addCleanup(threadpool.stop)
    spy = Spy()
    async_spy = AsyncSpy(reactor=reactor, threadpool=threadpool, provider=spy)
    a = [object()]
    b = [object()]
    c = [object()]
    with LOG_IN_CALLER():
        result = async_spy.method(a, b, c)
    result.addCallback(self.assertEqual, spy.method(a, b, c))
    return result
