def METHOD_NAME():
    text = ui.TextBlock2D(text='', position=(50, 50), color=(1, 0, 0), size=(100, 50))
    sm = window.ShowManager()
    sm.scene.add(text)
    text.message = 'Hello'
    wrap_overflow(text, text.size[0])
    npt.assert_equal('Hello', text.message)
    text.message = 'Hello wassup'
    wrap_overflow(text, text.size[0])
    npt.assert_equal('Hello\n wass\nup', text.message)
    text.message = 'A very very long message to clip text overflow'
    wrap_overflow(text, text.size[0])
    npt.assert_equal(
        'A ver\ny ver\ny lon\ng mes\nsage \nto cl\nip te\nxt ov\nerflo\nw', text.message
    )
    text.message = 'A very very long message to clip text overflow'
    wrap_overflow(text, 0)
    npt.assert_equal(text.message, '')
    text.message = 'A very very long message to clip text overflow'
    wrap_overflow(text, -2 * text.size[0])
    npt.assert_equal(text.message, '')