Mocking UUID

This commit is contained in:
ByteHamster 2018-10-18 14:42:08 +02:00 committed by Oji Ofong
parent 222fc0dcf8
commit 06bc5fdd40

View file

@ -122,6 +122,7 @@ public class CertificateErrorNotificationsTest extends RobolectricTest {
Account account = mock(Account.class);
when(account.getAccountNumber()).thenReturn(ACCOUNT_NUMBER);
when(account.getDescription()).thenReturn(ACCOUNT_NAME);
when(account.getUuid()).thenReturn("test-uuid");
return account;
}