Searched refs:getAccounts (Results 1 – 2 of 2) sorted by relevance
58 assertThat(am.getAccounts()).isNotNull(); in testGetAccounts()59 assertThat(am.getAccounts().length).isEqualTo(0); in testGetAccounts()63 assertThat(am.getAccounts()).isNotNull(); in testGetAccounts()64 assertThat(am.getAccounts().length).isEqualTo(1); in testGetAccounts()65 assertThat(am.getAccounts()[0]).isSameAs(a1); in testGetAccounts()69 assertThat(am.getAccounts()).isNotNull(); in testGetAccounts()70 assertThat(am.getAccounts().length).isEqualTo(2); in testGetAccounts()71 assertThat(am.getAccounts()[1]).isSameAs(a2); in testGetAccounts()80 assertThat(am.getAccountsByType(null)).asList().containsAllIn(am.getAccounts()); in getAccountsByType_nullTypeReturnsAllAccounts()86 assertThat(am.getAccounts().length).isEqualTo(0); in testGetAccountsByType()[all …]
71 protected Account[] getAccounts() { in getAccounts() method in ShadowAccountManager78 return getAccounts(); in getAccountsByType()215 listener.onAccountsUpdated(getAccounts());306 Account[] accounts = getAccounts();