GetRepositoryByName() public method

Method to get the repository by its name.
public GetRepositoryByName ( string repositoryName ) : Microsoft.Research.DataOnboarding.DomainModel.Repository
repositoryName string Repository name.
return Microsoft.Research.DataOnboarding.DomainModel.Repository
        public void Get_Repository_By_Name_Test()
        {
            IRepositoryDetails repository = new RepositoryDetails(testDBContext);

            var selRep = repository.GetRepositoryByName("Repository1");

            Assert.AreEqual(selRep.AllowedFileTypes, "xlsx,nc,csv");
            Assert.AreEqual(selRep.HttpDeleteUriTemplate, "http://google.com");
            Assert.AreEqual(selRep.HttpGetUriTemplate, "http://google.com");
            Assert.AreEqual(selRep.HttpIdentifierUriTemplate, "http://google.com");
            Assert.AreEqual(selRep.HttpPostUriTemplate, "http://google.com");
            Assert.AreEqual(selRep.ImpersonatingPassword, "pwd");
            Assert.AreEqual(selRep.ImpersonatingUserName, "user1");
            Assert.AreEqual(selRep.ModifiedBy, 1);
            Assert.AreEqual(selRep.CreatedBy, 1);
            Assert.AreEqual(selRep.Name, "Repository1");
            Assert.AreEqual(selRep.RepositoryId, 1);
            Assert.AreEqual(selRep.UserAgreement, "Test Agreement1");
            Assert.AreEqual(selRep.BaseRepositoryId, 1);

            Assert.IsTrue((bool)selRep.IsActive);
            Assert.IsTrue((bool)selRep.IsImpersonating);
            Assert.IsTrue(selRep.IsVisibleToAll);
        }
        public void Get_Repository_By_Name_Empty_Test()
        {
            IRepositoryDetails repository = new RepositoryDetails(testDBContext);

            var selRep = repository.GetRepositoryByName("EmptyRepository");

            Assert.IsNull(selRep);
        }