Ejemplo n.º 1
0
        public void CanMapFieldNameToFriendlyName(string input, string expected)
        {
            var result = FieldMapping.MapFieldNameToFriendlyName(input);

            Assert.AreEqual(expected, result);
        }
Ejemplo n.º 2
0
 public void MapFieldNameToFriendlyNameThrowsIfInputIsNull()
 {
     Assert.Throws <ArgumentNullException>(() => FieldMapping.MapFieldNameToFriendlyName(null));
 }