public void GivenItHasRepositoriesSetUp(int numberOfCredentialRepos) { for (var i = 0; i < numberOfCredentialRepos; i++) { _credentialRepositoryList.AddProvider(_credentialRepoUtilities.BuildXmlCredentialRepo()); } }
public void RepositoryIsInListAfterBeingAdded() { var provider = Substitute.For <ICredentialRepository>(); _credentialCatalog.AddProvider(provider); Assert.That(_credentialCatalog.CredentialProviders, Does.Contain(provider)); }