def METHOD_NAME():
    '''Test that the create_from_fparser2 method works as expected.'''
    fortran_string = (
        "type(FUNC_TYPE) :: META_FUNCS(2) = (/ &\n"
        "    func_type(w0, gh_basis), &\n"
        "    func_type(w3, gh_diff_basis)/)\n")
    fparser2_tree = MetaFuncsMetadata.create_fparser2(
        fortran_string, Fortran2003.Data_Component_Def_Stmt)
    metadata = MetaFuncsMetadata.create_from_fparser2(fparser2_tree)
    assert isinstance(metadata, MetaFuncsMetadata)
    assert metadata.fortran_string() == fortran_string