Added in API level Baklava
Deprecated in API level Baklava

MockAccountManager


open class MockAccountManager
kotlin.Any
   ↳ android.test.mock.MockAccountManager

A mock android.accounts.AccountManager class.

Provided for use by android.test.IsolatedContext.

Summary

Public methods
open static AccountManager!

Create a new mock AccountManager instance.

Public methods

newMockAccountManager

open static fun newMockAccountManager(context: Context!): AccountManager!

Deprecated: Deprecated in Java.

Create a new mock AccountManager instance.

Parameters
context Context!: the Context to which the returned object belongs.
Return
AccountManager! the new instance.