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