#NEWLINE# def test_get_usage( self ) : #NEWLINE# #INDENT# lb = mgr . loadbalancer #NEWLINE# mgr = lb . manager #NEWLINE# mgr . get_usage = Mock ( ) #NEWLINE# lb . get_usage ( ) #NEWLINE# mgr . get_usage . assert_called_once_with ( lb , start = None , end = None )