public void CreateRegexPatternConstraintValueWithEscapedForwardSlash()
 {
     Assert.AreEqual(
         "/^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$/",
         ClientModelExtensions.CreateRegexPatternConstraintValue(
             "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"));
 }
 public void CreateRegexPatternConstraintValueWithWhitespace()
 {
     Assert.AreEqual("/ \t /", ClientModelExtensions.CreateRegexPatternConstraintValue(" \t "));
 }
 public void CreateRegexPatternConstraintValueWithEmpty()
 {
     Assert.AreEqual("", ClientModelExtensions.CreateRegexPatternConstraintValue(""));
 }