def METHOD_NAME():
    '''Test that the 'lower_to_language_level()' method works as
    expected.
    '''
    _, invoke_info = parse(os.path.join(BASE_PATH,
                                        "15.7.4_setval_random_builtin.f90"),
                           api=API)
    psy = PSyFactory(API,
                     distributed_memory=False).create(invoke_info)
    first_invoke = psy.invokes.invoke_list[0]
    kern = first_invoke.schedule.children[0].loop_body[0]
    parent = kern.parent
    lowered = kern.lower_to_language_level()
    assert parent.children[0] is lowered
    assert isinstance(parent.children[0], Call)
    assert parent.children[0].routine.name == "random_number"