mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-26 03:40:56 +01:00
Convert Recipient to kotlin.
This commit is contained in:
@@ -75,7 +75,7 @@ public final class RecipientExporterTest {
|
||||
when(recipient.requireE164()).thenReturn(phone);
|
||||
when(recipient.getE164()).thenAnswer(i -> Optional.of(phone));
|
||||
when(recipient.getEmail()).thenAnswer(i -> Optional.empty());
|
||||
when(recipient.shouldShowE164()).thenAnswer(i -> shouldShowPhoneNumber);
|
||||
when(recipient.getShouldShowE164()).thenAnswer(i -> shouldShowPhoneNumber);
|
||||
|
||||
return recipient;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user