# Print output for @column tags ?>
public
class
MockAccountManager
extends Object
| java.lang.Object | |
| ↳ | android.test.mock.MockAccountManager |
This class is deprecated.
Use a mocking framework like Mockito.
New tests should be written using the
Android Testing Support Library.
A mock AccountManager class.
Provided for use by android.test.IsolatedContext.
Public methods | |
|---|---|
static
AccountManager
|
newMockAccountManager(Context context)
Create a new mock |
Inherited methods | |
|---|---|
public static AccountManager newMockAccountManager (Context context)
Create a new mock AccountManager instance.
| Parameters | |
|---|---|
context |
Context: the Context to which the returned object belongs. |
| Returns | |
|---|---|
AccountManager |
the new instance. |