|
|
@ -49,7 +49,7 @@ public class EnvChangeEntranceTest { |
|
|
|
EasyMock.expect(selectedEnv.getRemindTime()).andReturn(null); |
|
|
|
EasyMock.expect(selectedEnv.getRemindTime()).andReturn(null); |
|
|
|
|
|
|
|
|
|
|
|
FunctionalHttpRequest request = EasyMock.mock(FunctionalHttpRequest.class); |
|
|
|
FunctionalHttpRequest request = EasyMock.mock(FunctionalHttpRequest.class); |
|
|
|
EasyMock.expect(request.getServiceList()).andReturn(null); |
|
|
|
EasyMock.expect(request.getServiceList(connectionInfo)).andReturn(null); |
|
|
|
|
|
|
|
|
|
|
|
PowerMock.expectNew(FunctionalHttpRequest.class, connectionInfo).andReturn(request).anyTimes(); |
|
|
|
PowerMock.expectNew(FunctionalHttpRequest.class, connectionInfo).andReturn(request).anyTimes(); |
|
|
|
EasyMock.expect(request.getServerBranch()).andReturn(remoteBranch); |
|
|
|
EasyMock.expect(request.getServerBranch()).andReturn(remoteBranch); |
|
|
|