public void CatalogListCreationTest2() { var catalogs = new string[] { "tempdb", "master" }; var list = new DbConnectionViewModel.ComboList(catalogs); var count = list.Count(); Assert.AreEqual(2, count); var isRefreshCount = list.Count(item => item.IsRefresh); Assert.AreEqual(0, isRefreshCount); }
public void CatalogListCreationTest() { var list = new DbConnectionViewModel.ComboList(); var count = list.Count(); Assert.AreEqual(0, count); }