public async Task Refresh_Always_RefreshesTvShowProperties()
        {
            // Arrange
            EpisodeMetadata metadata = CreateEpisodeMetadata();

            _metadataService.Get(_path)
            .Returns(Task.FromResult(metadata));

            // Act
            await _viewModel.Refresh();

            // Assert
            AssertMetadataEqualsViewModel(metadata);
        }
Пример #2
0
        protected override async Task RefreshInternal()
        {
            EpisodeMetadata metadata = await _metadataService.Get(Path);

            RefreshFromMetadata(metadata);
        }