Account class exposes whether it's a Google account, and even provides a getAccount() method to get the Google account.
The code relies on the fact that we use Google accounts in the real app and non-Google accounts in tests
Real code is aware of the tests
We should introduce a "are we in tests" property
Account class exposes whether it's a Google account, and even provides a getAccount() method to get the Google account. The code relies on the fact that we use Google accounts in the real app and non-Google accounts in tests Real code is aware of the tests We should introduce a "are we in tests" property