Searched refs:spyEntry (Results 1 – 2 of 2) sorted by relevance
1187 StandardWifiEntry spyEntry = spy(new StandardWifiEntry( in testCanConnect_nonEapMethod_returnTrueIfReachable() local1192 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()1194 assertThat(spyEntry.canConnect()).isEqualTo(true); in testCanConnect_nonEapMethod_returnTrueIfReachable()1197 spyEntry = spy(new StandardWifiEntry( in testCanConnect_nonEapMethod_returnTrueIfReachable()1202 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()1204 assertThat(spyEntry.canConnect()).isEqualTo(true); in testCanConnect_nonEapMethod_returnTrueIfReachable()1207 spyEntry = spy(new StandardWifiEntry( in testCanConnect_nonEapMethod_returnTrueIfReachable()1212 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()1214 assertThat(spyEntry.canConnect()).isEqualTo(true); in testCanConnect_nonEapMethod_returnTrueIfReachable()1217 spyEntry = spy(new StandardWifiEntry( in testCanConnect_nonEapMethod_returnTrueIfReachable()[all …]
112 PasspointWifiEntry spyEntry = spy(passpointWifiEntry); in testGetSummary_expired_showExpired() local113 when(spyEntry.isExpired()).thenReturn(true); in testGetSummary_expired_showExpired()115 assertThat(spyEntry.getSummary()).isEqualTo(expired); in testGetSummary_expired_showExpired()