#NEWLINE# def test_match_type_simple( self ) : #NEWLINE# #INDENT# matcher = test . MatchType ( dict ) #NEWLINE# self . assertEqual ( matcher , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( matcher , { #NEWLINE# #INDENT# 'hello' : 'world' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( matcher , { #NEWLINE# #INDENT# 'hello' : [ 'world' ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertNotEqual ( matcher , [ ] ) #NEWLINE# self . assertNotEqual ( matcher , [ { #NEWLINE# #INDENT# 'hello' : 'world' , #NEWLINE# #UNINDENT# } ] ) #NEWLINE# self . assertNotEqual ( matcher , 123 ) #NEWLINE# self . assertNotEqual ( matcher , 'foo' )