Searched refs:serverInterface (Results 1 – 1 of 1) sorted by relevance
389 ServerInterface serverInterface = Mockito.spy(mServerInterface); in testServerConnectionTimeout() local390 Mockito.when(serverInterface.getRegionalProperty()).thenReturn("cn"); in testServerConnectionTimeout()391 assertThat(serverInterface.getConnectTimeoutMs()).isEqualTo( in testServerConnectionTimeout()394 Mockito.when(serverInterface.getRegionalProperty()).thenReturn("cn,us"); in testServerConnectionTimeout()395 assertThat(serverInterface.getConnectTimeoutMs()).isEqualTo( in testServerConnectionTimeout()398 Mockito.when(serverInterface.getRegionalProperty()).thenReturn(null); in testServerConnectionTimeout()399 assertThat(serverInterface.getConnectTimeoutMs()).isEqualTo( in testServerConnectionTimeout()402 Mockito.when(serverInterface.getRegionalProperty()).thenReturn(""); in testServerConnectionTimeout()403 assertThat(serverInterface.getConnectTimeoutMs()).isEqualTo( in testServerConnectionTimeout()406 Mockito.when(serverInterface.getRegionalProperty()).thenReturn("us"); in testServerConnectionTimeout()[all …]