Searched refs:mMockDefaultNetwork (Results 1 – 3 of 3) sorted by relevance
69 protected Network mMockDefaultNetwork; field in IkeSessionTestBase102 mMockDefaultNetwork = mock(Network.class); in setUp()103 doReturn(mMockDefaultNetwork).when(mMockConnectManager).getActiveNetwork(); in setUp()104 doReturn(REMOTE_ADDRESS).when(mMockDefaultNetwork).getByName(REMOTE_HOSTNAME); in setUp()106 .when(mMockDefaultNetwork) in setUp()
1296 verify(mMockDefaultNetwork).getByName(REMOTE_HOSTNAME); in testResolveRemoteHostName()2272 assertEquals(mMockDefaultNetwork, ikeConnInfo.getNetwork()); in verifyAuthenticationCommonAndGetIkeMessage()
93 private Network mMockDefaultNetwork; field in IkeSessionParamsTest107 mMockDefaultNetwork = mock(Network.class); in setUp()109 when(mMockConnectManager.getActiveNetwork()).thenReturn(mMockDefaultNetwork); in setUp()176 assertEquals(mMockDefaultNetwork, sessionParams.getNetwork()); in testBuildWithPsk()360 assertEquals(mMockDefaultNetwork, sessionParams.getNetwork()); in testBuildWithEap()