def METHOD_NAME(self):
    """Test parse AblyError event."""
    e0 = make_error({
        'code': 40142,
        'message': 'Token expired',
        'statusCode': 401,
        'href': 'https://help.io/error/40142',
    })
    parsed = parse_incoming_event(e0)
    assert isinstance(parsed, AblyError)
    assert parsed.code == 40142
    assert parsed.status_code == 401
    assert parsed.href == 'https://help.io/error/40142'
    assert parsed.message == 'Token expired'
    assert not parsed.should_be_ignored()
    assert parsed.is_retryable()