#NEWLINE# def __call__( self , * args , **kwargs ) : #NEWLINE# #INDENT# 'Sync method meant to mock a gRPC stub request.' #NEWLINE# self . _factory . method_calls . append ( ( self . _name , args , kwargs ) ) #NEWLINE# ( curr_result , self . _factory . results ) = ( self . _factory . results [ 0 ] , self . _factory . results [ 1 : ] ) #NEWLINE# return self