def METHOD_NAME(mocker):
    memmove = mocker.patch(
        'temboardui.toolkit.proctitle.ctypes.memmove', autospec=True)
    from temboardui.toolkit.proctitle import ProcTitleManager
    setproctitle = ProcTitleManager(prefix='prefix: ')
    title = setproctitle('not initialized')
    assert title is None
    setproctitle.address = 0xd0d0bebe
    setproctitle.size = 24
    memmove.reset_mock()
    title = setproctitle('title')
    assert title.startswith(b'prefix: title\0')
    assert 24 == len(title)
    assert memmove.called is True