def METHOD_NAME(self, invoke_cli, user, user_delete_service):
    result = invoke_cli(user_cli.delete, [user.username])
    assert not result.exit_code
    user_delete_service.delete_user.assert_called_once_with(user)