def METHOD_NAME():
    expected = ValueError("test-any-error")
    def thrower():
        raise expected
    thread = DestroyableThread(thrower)
    thread.start()
    thread.join()
    with pytest.raises(ValueError) as ctx:
        thread.get_or_throw()
    assert expected == ctx.value