public void GetItemsByCode_Api() { IReferenceDataSource source; source = new ApiReferenceDataSource(); Assert.AreEqual(2, source.GetItemsByCode("xyz").Count()); }
public void GetReferenceDataItemsTest_APIByCode() { //-- Arrange IReferenceDataSource source; source = new ApiReferenceDataSource(); //-- Act int actual = source.GetItemsByCode("xyz").Count(); //-- Assert Assert.AreEqual(2, actual); }
public void GetItemsByCodeApi() { var source = new ApiReferenceDataSource(); Assert.AreEqual(1, source.GetItemsByCode("A").Count()); }