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 …]
182 private LoadBalancer mockLoadBalancer; field in ManagedChannelImplTest252 when(mockLoadBalancerFactory.newLoadBalancer(any(Helper.class))).thenReturn(mockLoadBalancer); in setUp()500 verify(mockLoadBalancer).shutdown(); in subtestCallsAndShutdown()508 verify(mockLoadBalancer, never()).shutdown(); in subtestCallsAndShutdown()522 verify(mockLoadBalancer).shutdown(); in subtestCallsAndShutdown()567 verify(mockLoadBalancer).handleResolvedAddressGroups( in noMoreCallbackAfterLoadBalancerShutdown()581 verify(mockLoadBalancer, times(2)) in noMoreCallbackAfterLoadBalancerShutdown()586 verify(mockLoadBalancer) in noMoreCallbackAfterLoadBalancerShutdown()591 verify(mockLoadBalancer).handleNameResolutionError(resolutionError); in noMoreCallbackAfterLoadBalancerShutdown()593 verifyNoMoreInteractions(mockLoadBalancer); in noMoreCallbackAfterLoadBalancerShutdown()[all …]