#NEWLINE# def test_recv_bind_ok_with_cb( self ) : #NEWLINE# #INDENT# cb = mock ( ) #NEWLINE# self . klass . _bind_cb = deque ( [ cb ] ) #NEWLINE# expect ( cb ) #NEWLINE# self . klass . _recv_bind_ok ( 'frame' ) #NEWLINE# assert_equals ( deque ( ) , self . klass . _bind_cb )