Searched refs:mockAddress (Results 1 – 2 of 2) sorted by relevance
265 Address mockAddress = mock(Address.class); in testSetCountryCodeFromLocation() local266 when(mockAddress.getCountryCode()).thenReturn(TEST_COUNTRY_CODE); in testSetCountryCodeFromLocation()267 List<Address> addresses = List.of(mockAddress); in testSetCountryCodeFromLocation()397 Address mockAddress = mock(Address.class); in testChangeInLocationCountryCode() local398 when(mockAddress.getCountryCode()).thenReturn(TEST_COUNTRY_CODE); in testChangeInLocationCountryCode()399 List<Address> addresses = List.of(mockAddress); in testChangeInLocationCountryCode()423 Address mockAddress = mock(Address.class); in testChangeInTelephonyCountryCodeWhenWifiAndLocationCountryCodeAvailable() local424 when(mockAddress.getCountryCode()).thenReturn(TEST_COUNTRY_CODE); in testChangeInTelephonyCountryCodeWhenWifiAndLocationCountryCodeAvailable()425 List<Address> addresses = List.of(mockAddress); in testChangeInTelephonyCountryCodeWhenWifiAndLocationCountryCodeAvailable()
240 Address mockAddress = mock(Address.class); in wifiCountryCode_bothWifiAndLocationAreAvailable_wifiCountryCodeIsUsed() local241 when(mockAddress.getCountryCode()).thenReturn(TEST_COUNTRY_CODE_US); in wifiCountryCode_bothWifiAndLocationAreAvailable_wifiCountryCodeIsUsed()242 List<Address> addresses = List.of(mockAddress); in wifiCountryCode_bothWifiAndLocationAreAvailable_wifiCountryCodeIsUsed()