fix build error in RIP-28 at getmQClientFactory (#3754)

* fix build error in RIP-28 at getmQclientFactory

* fix build error in RIP-28 at getmQclientFactory
This commit is contained in:
dinglei
2022-01-14 11:38:50 +08:00
committed by GitHub
parent 2035e6fc5d
commit bfaef39f08
@@ -82,7 +82,7 @@ public class TestBenchLmqStore {
RebalanceImpl rebalanceImpl = mock(RebalanceImpl.class);
when(defaultMQPullConsumerImpl.getRebalanceImpl()).thenReturn(rebalanceImpl);
MQClientInstance mqClientInstance = mock(MQClientInstance.class);
when(rebalanceImpl.getMqClientFactory()).thenReturn(mqClientInstance);
when(rebalanceImpl.getmQClientFactory()).thenReturn(mqClientInstance);
MQClientAPIImpl mqClientAPI = mock(MQClientAPIImpl.class);
when(mqClientInstance.getMQClientAPIImpl()).thenReturn(mqClientAPI);
TopicRouteData topicRouteData = new TopicRouteData();