public void Test1() { RepositoryProvider repository = new RepositoryProvider(); repository.Add(contentRepository); var item = repository.Get(contentRepository); Assert.AreEqual(contentRepository.Name, item.Name); Assert.AreEqual(contentRepository.DisplayName, item.DisplayName); repository.Remove(item); }
public void Test1() { RepositoryProvider repository = new RepositoryProvider(new Common.BaseDir()); repository.Add(contentRepository); var item = repository.Get(contentRepository); Assert.AreEqual(contentRepository.Name, item.Name); Assert.AreEqual(contentRepository.DisplayName, item.DisplayName); repository.Remove(item); }