def METHOD_NAME(
    legacy_term_mock, control_type, method_name
):
    buffer = [Segment("", None, [(control_type,)])]
    legacy_windows_render(buffer, legacy_term_mock)
    getattr(legacy_term_mock, method_name).assert_called_once_with()