public void Save(IEnumerable <ICredentialRepository> repositories, string propertyNameTrigger = "") { var serializer = new CredentialRepositoryListSerializer(); var data = serializer.Serialize(repositories); _dataProvider.Save(data); }
public void Save(IEnumerable <ICredentialRepository> repositories) { var serializer = new CredentialRepositoryListSerializer(); var data = serializer.Serialize(repositories); _dataProvider.Save(data); }
public void SerializeExists() { var mockProvider = InitializeMockProvider(); var providers = new[] { mockProvider }; var serializedContent = _credentialProviderSerializer.Serialize(providers); Assert.That(serializedContent, Is.Not.Null); }