def METHOD_NAME(self, event):
    event.app.rest.trigger_typing = mock.Mock()
    result = event.trigger_typing()
    event.app.rest.trigger_typing.assert_called_once_with(123)
    assert result is event.app.rest.trigger_typing.return_value