#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# self . mock_store = Mock ( ) #NEWLINE# self . mock_as_api = Mock ( ) #NEWLINE# self . mock_scheduler = Mock ( ) #NEWLINE# hs = Mock ( ) #NEWLINE# hs . get_datastore = Mock ( return_value = self . mock_store ) #NEWLINE# self . handler = ApplicationServicesHandler ( hs , self . mock_as_api , self . mock_scheduler )