Example #1
0
        public void SetCurrentData_GetCurrentData_Test()
        {
            WallHoleData expectedData = GetSourceData();
            XElement     data         = new XElement("UserData");
            var          target       = new XmlAdapter(data);

            target.SetCurrentData(expectedData);

            var target2 = new XmlAdapter(data);

            var actualData = target2.GetCurrentData();

            Verify(expectedData, actualData);
        }