Exemple #1
0
 public void InvalidCombinationsShouldThrowAnException()
 {
     Assert.Throws <NotImplementedException>(() => PrimitiveDataTypeExampleGenerator.GenerateExampleValueByType("test", null));
 }
Exemple #2
0
        public void ValidCombinationsShouldReturnValidValue(string type, string format, string expected)
        {
            string example = PrimitiveDataTypeExampleGenerator.GenerateExampleValueByType(type, format);

            Assert.AreEqual(expected, example);
        }