public void HasProviderId_FoundNameEmptyValue_False() { var provider = new ProviderIdsExtensionsTestsObject(); provider.ProviderIds[MetadataProvider.Imdb.ToString()] = string.Empty; Assert.False(provider.HasProviderId(MetadataProvider.Imdb)); }
public void HasProviderId_FoundName_True() { var provider = new ProviderIdsExtensionsTestsObject(); provider.ProviderIds[MetadataProvider.Imdb.ToString()] = ExampleImdbId; Assert.True(provider.HasProviderId(MetadataProvider.Imdb)); }