async def METHOD_NAME(self, mock_command, mock_app):
    mock_command.guild_id = None
    result = await mock_command.edit()
    assert result is mock_app.rest.edit_application_command.return_value
    mock_app.rest.edit_application_command.assert_awaited_once_with(
        65234123,
        34123123,
        undefined.UNDEFINED,
        name=undefined.UNDEFINED,
        description=undefined.UNDEFINED,
        options=undefined.UNDEFINED,
    )