async def METHOD_NAME(event_loop):
    pubnub = PubNubAsyncio(pnconf_copy(), custom_event_loop=event_loop)
    ch = 'test-state-asyncio-ch'
    pubnub.config.uuid = 'test-state-asyncio-uuid'
    state = {"name": "Alex", "count": 5}
    env = await pubnub.set_state() \
        .channels(ch) \
        .state(state) \
        .future()
    assert env.result.state['name'] == "Alex"
    assert env.result.state['count'] == 5
    env = await pubnub.get_state() \
        .channels(ch) \
        .future()
    assert env.result.channels[ch]['name'] == "Alex"
    assert env.result.channels[ch]['count'] == 5
    await pubnub.stop()