def METHOD_NAME():
    '''Test that the get_metadata class method works as expected.
    '''
    metadata = "arg_type(GH_FIELD*3, GH_REAL, GH_READ, W0, mesh_arg=GH_COARSE)"
    fparser2_tree = InterGridVectorArgMetadata.create_fparser2(
        metadata, encoding=Fortran2003.Structure_Constructor)
    datatype, access, function_space, mesh_arg, vector_length, stencil = \
        InterGridVectorArgMetadata._get_metadata(fparser2_tree)
    assert datatype == "GH_REAL"
    assert access == "GH_READ"
    assert function_space == "W0"
    assert mesh_arg == "GH_COARSE"
    assert vector_length == "3"
    assert stencil is None