public void GetItemsByCode_Sql() { IReferenceDataSource source; source = new SqlReferenceDataSource(); Assert.AreEqual(2, source.GetItemsByCode("xyz").Count()); }
public void GetReferenceDataItemsTest_SQLByCode() { //-- Arrange IReferenceDataSource source; source = new SqlReferenceDataSource(); //-- Act int actual = source.GetItemsByCode("xyz").Count(); //-- Assert Assert.AreEqual(2, actual); }
public void GetItemsByCodeSql() { var source = new SqlReferenceDataSource(); Assert.AreEqual(1, source.GetItemsByCode("A").Count()); }