#NEWLINE# def test_init( self ) : #NEWLINE# #INDENT# expect ( ProtocolClass . __init__ ) . args ( 'foo' , a = 'b' ) #NEWLINE# klass = ExchangeClass . __new__ ( ExchangeClass ) #NEWLINE# klass . __init__ ( 'foo' , a = 'b' ) #NEWLINE# assert_equals ( { #NEWLINE# #INDENT# 11 : klass . _recv_declare_ok , #NEWLINE# 21 : klass . _recv_delete_ok , #NEWLINE# #UNINDENT# } , klass . dispatch_map ) #NEWLINE# assert_equals ( deque ( ) , klass . _declare_cb ) #NEWLINE# assert_equals ( deque ( ) , klass . _delete_cb )