Searched refs:spyEntry (Results 1 – 2 of 2) sorted by relevance
1061 StandardWifiEntry spyEntry = spy(new StandardWifiEntry(mMockContext, mTestHandler, in testCanConnect_nonEapMethod_returnTrueIfReachable() local1065 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()1067 assertThat(spyEntry.canConnect()).isEqualTo(true); in testCanConnect_nonEapMethod_returnTrueIfReachable()1070 spyEntry = spy(new StandardWifiEntry(mMockContext, mTestHandler, in testCanConnect_nonEapMethod_returnTrueIfReachable()1074 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()1076 assertThat(spyEntry.canConnect()).isEqualTo(true); in testCanConnect_nonEapMethod_returnTrueIfReachable()1079 spyEntry = spy(new StandardWifiEntry(mMockContext, mTestHandler, in testCanConnect_nonEapMethod_returnTrueIfReachable()1083 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()1085 assertThat(spyEntry.canConnect()).isEqualTo(true); in testCanConnect_nonEapMethod_returnTrueIfReachable()1088 spyEntry = spy(new StandardWifiEntry(mMockContext, mTestHandler, in testCanConnect_nonEapMethod_returnTrueIfReachable()[all …]
125 PasspointWifiEntry spyEntry = spy(passpointWifiEntry); in testGetSummary_expired_showExpired() local126 when(spyEntry.isExpired()).thenReturn(true); in testGetSummary_expired_showExpired()128 assertThat(spyEntry.getSummary()).isEqualTo(expired); in testGetSummary_expired_showExpired()