public void GivenItHasRepositoriesSetUp(int numberOfCredentialRepos)
 {
     for (var i = 0; i < numberOfCredentialRepos; i++)
     {
         _credentialRepositoryList.AddProvider(_credentialRepoUtilities.BuildXmlCredentialRepo());
     }
 }
Ejemplo n.º 2
0
        public void RepositoryIsInListAfterBeingAdded()
        {
            var provider = Substitute.For <ICredentialRepository>();

            _credentialCatalog.AddProvider(provider);
            Assert.That(_credentialCatalog.CredentialProviders, Does.Contain(provider));
        }