#NEWLINE# def test_set( self ) : #NEWLINE# #INDENT# a = { 1 , 2 } #NEWLINE# invoke = Invocation ( ) #NEWLINE# invoke . message = a #NEWLINE# encode = EncodeInterceptor ( ) #NEWLINE# mangled = encode . outgoing ( invoke ) #NEWLINE# received = encode . incoming ( mangled ) #NEWLINE# b = received . message #NEWLINE# self . assertEquals ( a , encode )