/**@class android.test.mock.MockContentProvider @extends android.content.ContentProvider Mock implementation of ContentProvider. All methods are non-functional and throw {@link java.lang.UnsupportedOperationException}. Tests can extend this class to implement behavior needed for tests. */ var MockContentProvider = { /** */ delete : function( ) {}, /** */ getType : function( ) {}, /** */ insert : function( ) {}, /** */ onCreate : function( ) {}, /** */ query : function( ) {}, /** */ update : function( ) {}, /**If you're reluctant to implement this manually, please just call super.bulkInsert(). */ bulkInsert : function( ) {}, /** */ attachInfo : function( ) {}, /** */ applyBatch : function( ) {}, /** @hide */ call : function( ) {}, /** */ getStreamTypes : function( ) {}, /** */ openTypedAssetFile : function( ) {}, /** @hide */ refresh : function( ) {}, /**Returns IContentProvider which calls back same methods in this class. By overriding this class, we avoid the mechanism hidden behind ContentProvider (IPC, etc.) @hide */ getIContentProvider : function( ) {}, /** @hide */ getIContentProviderBinder : function( ) {}, /**Like {@link #attachInfo(Context, android.content.pm.ProviderInfo)}, but for use when directly instantiating the provider for testing. <p>Provided for use by {@code android.test.ProviderTestCase2} and {@code android.test.RenamingDelegatingContext}. @deprecated Use a mocking framework like <a href="https://github.com/mockito/mockito">Mockito</a>. New tests should be written using the <a href="{@docRoot}tools/testing-support-library/index.html">Android Testing Support Library</a>. */ attachInfoForTesting : function( ) {}, };