This commit is contained in:
Dejan Bosanac 2016-06-15 12:59:52 +02:00
parent 7b207567d9
commit 36237cb30f
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ import org.apache.activemq.transport.FutureResponse;
import org.apache.activemq.transport.ResponseCallback; import org.apache.activemq.transport.ResponseCallback;
import org.apache.activemq.transport.Transport; import org.apache.activemq.transport.Transport;
import org.apache.activemq.transport.TransportListener; import org.apache.activemq.transport.TransportListener;
import org.apache.activemq.transport.tcp.TcpTransport;
import org.easymock.EasyMock; import org.easymock.EasyMock;
import org.easymock.IAnswer; import org.easymock.IAnswer;
import org.easymock.IMocksControl; import org.easymock.IMocksControl;
@ -206,6 +207,7 @@ public class NetworkRouteTest {
localBroker.oneway(remoteBrokerInfo); localBroker.oneway(remoteBrokerInfo);
EasyMock.expect(localBroker.request(EasyMock.isA(Object.class))) EasyMock.expect(localBroker.request(EasyMock.isA(Object.class)))
.andReturn(null); .andReturn(null);
EasyMock.expect(remoteBroker.narrow(TcpTransport.class)).andReturn(null);
localBroker.oneway(EasyMock.isA(Object.class)); localBroker.oneway(EasyMock.isA(Object.class));
ExpectationWaiter localInitWaiter = ExpectationWaiter.waiterForLastVoidCall(); ExpectationWaiter localInitWaiter = ExpectationWaiter.waiterForLastVoidCall();