def METHOD_NAME(alice_test_config, test_emitter, mock_stdin, mocker, capsys):
    mock_forget = mocker.patch.object(CharacterConfiguration, 'forget_nodes')
    mock_stdin.line(YES)
    forget(emitter=test_emitter, configuration=alice_test_config)
    mock_forget.assert_called_once()
    assert mock_stdin.empty()
    captured = capsys.readouterr()
    assert CONFIRM_FORGET_NODES in captured.out
    assert SUCCESSFUL_FORGET_NODES in captured.out