def METHOD_NAME(mocker):
    # 70 character string
    long_string = "123456789"
    sl = SecureQLabel(long_string, wordwrap=False, max_length=100)
    elided_text = sl.get_elided_text(long_string)
    assert sl.text() == elided_text
    assert elided_text == "123456789"