Android.Test.Mock.MockContentProvider Class
Mock implementation of ContentProvider.

See Also: MockContentProvider Members

Syntax

[Android.Runtime.Register("android/test/mock/MockContentProvider", DoNotGenerateAcw=true)]
public class MockContentProvider : Android.Content.ContentProvider

Remarks

Mock implementation of ContentProvider. All methods are non-functional and throw Java.Lang.UnsupportedOperationException. Tests can extend this class to implement behavior needed for tests.

[Android Documentation]

Requirements

Namespace: Android.Test.Mock
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8