public void TrySetValue_GivenUnmatchingProperty_ShouldReturnFalse()
        {
            var mapping  = new ColumnToPropertyMapping <TestC>("_Name", "testName");
            var prop     = typeof(TestC).GetProperty("_Name");
            var instance = new TestC();

            Assert.IsFalse(mapping.TrySetValue(instance, prop, dataTable.Rows[0]));
        }
        public void TrySetValue_GivenValidColumnAndPropertyNames_ShouldReturnExpectedValues()
        {
            var mapping  = new ColumnToPropertyMapping <TestC>("Name", "testName");
            var prop     = typeof(TestC).GetProperty("Name");
            var instance = new TestC();

            Assert.IsTrue(mapping.TrySetValue(instance, prop, dataTable.Rows[0]));
            Assert.AreEqual("X001", instance.Name);
        }