#NEWLINE# def test_constructor( self ) : #NEWLINE# #INDENT# s = virtual . BrokerState ( ) #NEWLINE# self . assertTrue ( hasattr ( s , 'exchanges' ) ) #NEWLINE# t = virtual . BrokerState ( exchanges = 16 ) #NEWLINE# self . assertEqual ( s . exchanges , 16 )