def METHOD_NAME(self):
    pn = _pubnub()
    set_channel_result = pn.set_channel_metadata() \
        .include_custom(True) \
        .channel(TestObjectsV2Channel._some_channel_id) \
        .set_name(TestObjectsV2Channel._some_name) \
        .description(TestObjectsV2Channel._some_description) \
        .custom(TestObjectsV2Channel._some_custom) \
        .sync()
    assert isinstance(set_channel_result, Envelope)
    assert isinstance(set_channel_result.result, PNSetChannelMetadataResult)
    assert isinstance(set_channel_result.status, PNStatus)
    assert not set_channel_result.status.is_error()
    data = set_channel_result.result.data
    assert data['id'] == TestObjectsV2Channel._some_channel_id
    assert data['name'] == TestObjectsV2Channel._some_name
    assert data['description'] == TestObjectsV2Channel._some_description
    assert data['custom'] == TestObjectsV2Channel._some_custom