@Test public void testCreateMasterBackend() { MediaItemDataStore mediaItemDataStore = mediaItemDataStoreFactory.createMasterBackendDataStore(); assertThat( mediaItemDataStore ) .isNotNull() .isInstanceOf( MasterBackendMediaItemDataStore.class ); }
public MediaItemDataStore createMasterBackendDataStore() { Log.d( TAG, "createMasterBackendDataStore : enter" ); Log.d( TAG, "createMasterBackendDataStore : exit" ); return new MasterBackendMediaItemDataStore( this.dvrDataStoreFactory, this.videoDataStoreFactory, this.contentDataStoreFactory, this.searchDataStoreFactory, this.cache ); }
MediaItemDataStoreFactory { public MediaItemDataStore createMasterBackendDataStore() { Log.d( TAG, "createMasterBackendDataStore : enter" ); Log.d( TAG, "createMasterBackendDataStore : exit" ); return new MasterBackendMediaItemDataStore( this.dvrDataStoreFactory, this.videoDataStoreFactory, this.contentDataStoreFactory, this.searchDataStoreFactory, this.cache ); } }
MediaItemDataStoreFactory { public MediaItemDataStore createMasterBackendDataStore() { Log.d( TAG, "createMasterBackendDataStore : enter" ); Log.d( TAG, "createMasterBackendDataStore : exit" ); return new MasterBackendMediaItemDataStore( this.dvrDataStoreFactory, this.videoDataStoreFactory, this.contentDataStoreFactory, this.searchDataStoreFactory, this.cache ); } @Inject  MediaItemDataStoreFactory(
            final DvrDataStoreFactory dvrDataStoreFactory,
            final VideoDataStoreFactory videoDataStoreFactory,
            final ContentDataStoreFactory contentDataStoreFactory,
            final SearchDataStoreFactory searchDataStoreFactory,
            final DualCache<MediaItemEntity> cache
    ); }
MediaItemDataStoreFactory { public MediaItemDataStore createMasterBackendDataStore() { Log.d( TAG, "createMasterBackendDataStore : enter" ); Log.d( TAG, "createMasterBackendDataStore : exit" ); return new MasterBackendMediaItemDataStore( this.dvrDataStoreFactory, this.videoDataStoreFactory, this.contentDataStoreFactory, this.searchDataStoreFactory, this.cache ); } @Inject  MediaItemDataStoreFactory(
            final DvrDataStoreFactory dvrDataStoreFactory,
            final VideoDataStoreFactory videoDataStoreFactory,
            final ContentDataStoreFactory contentDataStoreFactory,
            final SearchDataStoreFactory searchDataStoreFactory,
            final DualCache<MediaItemEntity> cache
    ); MediaItemDataStore create( final int id ); MediaItemDataStore createMasterBackendDataStore(); }
MediaItemDataStoreFactory { public MediaItemDataStore createMasterBackendDataStore() { Log.d( TAG, "createMasterBackendDataStore : enter" ); Log.d( TAG, "createMasterBackendDataStore : exit" ); return new MasterBackendMediaItemDataStore( this.dvrDataStoreFactory, this.videoDataStoreFactory, this.contentDataStoreFactory, this.searchDataStoreFactory, this.cache ); } @Inject  MediaItemDataStoreFactory(
            final DvrDataStoreFactory dvrDataStoreFactory,
            final VideoDataStoreFactory videoDataStoreFactory,
            final ContentDataStoreFactory contentDataStoreFactory,
            final SearchDataStoreFactory searchDataStoreFactory,
            final DualCache<MediaItemEntity> cache
    ); MediaItemDataStore create( final int id ); MediaItemDataStore createMasterBackendDataStore();  }