public void ExistingDataFromSource_ReturnsFailedResult()
            {
                var mediaItem = new MediaItem(Substitute.For <IEmbyItemData>(), MediaItemTypes.Series, SourceData);

                var result = mediaItem.AddData(SourceData);

                result.IsLeft.Should().BeTrue();
            }
            public void ReturnsMediaItemWithSourceDataAdded()
            {
                var mediaItem = new MediaItem(Substitute.For <IEmbyItemData>(), MediaItemTypes.Series, SourceData);

                var mediaItem2 = mediaItem.AddData(SourceData2);

                mediaItem2.IsRight.Should().BeTrue();
                mediaItem2.ValueUnsafe().GetDataFromSource(Source2).ValueUnsafe().Should().Be(SourceData2);
            }
            public void DoesNotModifyInstanceCalledOn()
            {
                var mediaItem = new MediaItem(Substitute.For <IEmbyItemData>(), MediaItemTypes.Series, SourceData);

                mediaItem.AddData(SourceData2);

                mediaItem.GetDataFromSource(Source).ValueUnsafe().Should().Be(SourceData);
                mediaItem.GetDataFromSource(Source2).IsNone.Should().BeTrue();
            }