def METHOD_NAME(self):
    m = ConcreteModel()
    m.a = Set(initialize=[1, 2, 3], ordered=True)
    m.x = Var(m.a)
    stream = StringIO()
    m.x[2].pprint(ostream=stream)
    correct_s = (
        '{Member of x} : Size=3, Index=a\n    '
        'Key : Lower : Value : Upper : Fixed : Stale : Domain\n      '
        '2 :  None :  None :  None : False :  True :  Reals\n'
    )
    self.assertEqual(correct_s, stream.getvalue())