@Test
public void testMediaItemHappyCase() {

    TestSubscriber<Object> subscriber = new TestSubscriber<>();
    given( mockMediaItemDataStore.mediaItem( any( Media.class ), anyInt() ) ).willReturn( Observable.just( mediaItemEntity() ) );
    mediaItemDataRepository.mediaItem( FAKE_MEDIA, FAKE_ID )
            .subscribe( subscriber );
    assertThat( subscriber.getOnNextEvents() )
            .isNotNull()
            .hasSize( 1 );
    verify( mockMediaItemDataStoreFactory, times( 0 ) ).createMasterBackendDataStore();
    verify( mockMediaItemDataStoreFactory, times( 1 ) ).create( anyInt() );
    verify( mockMediaItemDataStore ).mediaItem( any( Media.class ), anyInt() );
}