def METHOD_NAME():
    frame_handler = FakeFrameHandler()
    connection = FakeConnection()
    dispatcher = AsyncDispatcher(
        connection, frame_handler,
        clock=FakeTimeGen(
            [4000000.0, 4000003.0, 4000006.0,
             4000009.0, 4000012.0]).get_fake_time)
    dispatcher.setHeartBeat(12000, 4000)
    assert not dispatcher.writable(None)
    assert not frame_handler.has_outgoing_messages