public void GetItemsByCode_Xml()
        {
            IReferenceDataSource source;

            source = new XmlReferenceDataSource();
            Assert.AreEqual(2, source.GetItemsByCode("xyz").Count());
        }
        public void GetReferenceDataItemsTest_XMLByCode()
        {
            //-- Arrange
            var source = new XmlReferenceDataSource();

            //-- Act
            int actual = source.GetItemsByCode("xyz").Count();

            //-- Assert
            Assert.AreEqual(2, actual);
        }
        public void GetItemsByCode_Xml()
        {
            var source = new XmlReferenceDataSource(); //don't even need to cast XmlReferenceDataSource to IReferenceDataSource

            Assert.AreEqual(2, source.GetItemsByCode("xyz").Count());
        }
        public void GetItemsByCodeXml()
        {
            var source = new XmlReferenceDataSource();

            Assert.AreEqual(1, source.GetItemsByCode("A").Count());
        }