### Question:
AndroidAuthenticator implements Authenticator { @Override public void invalidateAuthToken(String authToken) { mAccountManager.invalidateAuthToken(mAccount.type, authToken); } AndroidAuthenticator(Context context, Account account, String authTokenType);  AndroidAuthenticator(Context context, Account account, String authTokenType,
            boolean notifyAuthFailure);   AndroidAuthenticator(AccountManager accountManager, Account account,
            String authTokenType, boolean notifyAuthFailure); Account getAccount(); String getAuthTokenType(); @SuppressWarnings("deprecation") @Override String getAuthToken(); @Override void invalidateAuthToken(String authToken);  }### Answer:
@Test public void invalidateAuthToken() throws Exception { mAuthenticator.invalidateAuthToken("monkey"); verify(mAccountManager).invalidateAuthToken("cooltype", "monkey"); }