def METHOD_NAME():
    ''' Check the member property of StructureMember. '''
    kschedule = nodes.KernelSchedule("kname")
    grid_var = create_structure_symbol(kschedule.symbol_table)
    assignment = nodes.Assignment(parent=kschedule)
    grid_ref = nodes.StructureReference.create(grid_var, ['area', 'nx'],
                                               parent=assignment)
    smem_ref = grid_ref.member
    assert isinstance(smem_ref, nodes.StructureMember)
    assert isinstance(smem_ref.member, nodes.Member)
    assert smem_ref.member.name == "nx"
    # Break the node's children to check the exception
    smem_ref._children = ["wrong"]
    with pytest.raises(InternalError) as err:
        _ = smem_ref.member
    assert ("StructureMember malformed or incomplete. The first child must "
            "be an instance of Member, but found 'str'" in str(err.value))