Пример #1
0
 public void testIsAuthorizedWithSessionKey() {
   WAILSettings.setLastfmSessionKey(getContext(), "asasdff");
   assertTrue(WAILSettings.isAuthorized(getContext()));
 }
Пример #2
0
 public void testIsAuthorizedDefault() {
   assertFalse(WAILSettings.isAuthorized(getContext()));
 }