def METHOD_NAME():
    '''Test that the create_from_fparser2 method works as expected.'''
    fortran_string = (
        "type(REFERENCE_ELEMENT_DATA_TYPE) :: META_REFERENCE_ELEMENT(2) = "
        "(/ &\n"
        "    reference_element_data_type(normals_to_horizontal_faces), &\n"
        "    reference_element_data_type(normals_to_vertical_faces)/)\n")
    fparser2_tree = MetaRefElementMetadata.create_fparser2(
        fortran_string, Fortran2003.Data_Component_Def_Stmt)
    metadata = MetaRefElementMetadata.create_from_fparser2(fparser2_tree)
    assert isinstance(metadata, MetaRefElementMetadata)
    assert metadata.fortran_string() == fortran_string