Searched refs:mockLoadBalancer (Results 1 – 2 of 2) sorted by relevance
104 @Mock private LoadBalancer mockLoadBalancer; field in ManagedChannelImplIdlenessTest116 when(mockLoadBalancerFactory.newLoadBalancer(any(Helper.class))).thenReturn(mockLoadBalancer); in setUp()187 verify(mockLoadBalancer).handleResolvedAddressGroups(servers, Attributes.EMPTY); in newCallExitsIdleness()203 verify(mockLoadBalancer, never()).shutdown(); in newCallRefreshesIdlenessTimer()214 verify(mockLoadBalancer, never()).shutdown(); in newCallRefreshesIdlenessTimer()219 verify(mockLoadBalancer).shutdown(); in newCallRefreshesIdlenessTimer()245 verify(mockLoadBalancer, never()).shutdown(); in delayedTransportHoldsOffIdleness()247 verify(mockLoadBalancer).shutdown(); in delayedTransportHoldsOffIdleness()292 verify(mockLoadBalancer, never()).shutdown(); in realTransportsHoldsOffIdleness()294 verify(mockLoadBalancer).shutdown(); in realTransportsHoldsOffIdleness()[all …]
183 private LoadBalancer mockLoadBalancer; field in ManagedChannelImplTest253 when(mockLoadBalancerFactory.newLoadBalancer(any(Helper.class))).thenReturn(mockLoadBalancer); in setUp()501 verify(mockLoadBalancer).shutdown(); in subtestCallsAndShutdown()509 verify(mockLoadBalancer, never()).shutdown(); in subtestCallsAndShutdown()523 verify(mockLoadBalancer).shutdown(); in subtestCallsAndShutdown()568 verify(mockLoadBalancer).handleResolvedAddressGroups( in noMoreCallbackAfterLoadBalancerShutdown()582 verify(mockLoadBalancer, times(2)) in noMoreCallbackAfterLoadBalancerShutdown()587 verify(mockLoadBalancer) in noMoreCallbackAfterLoadBalancerShutdown()592 verify(mockLoadBalancer).handleNameResolutionError(resolutionError); in noMoreCallbackAfterLoadBalancerShutdown()594 verifyNoMoreInteractions(mockLoadBalancer); in noMoreCallbackAfterLoadBalancerShutdown()[all …]