private void SetExampleValue()
        {
            if (Generator is IGeneratorWithSpecificExampleValue genWithExample)
            {
                ExampleValue = genWithExample.GetExampleValue();
            }
            else if (Generator is QueryGeneratorWithIntValue)
            {
                ExampleValue = "3";
            }
            else if (Generator is QueryGeneratorWithArrayValue)
            {
                ExampleValue = "[\"value 1\", \"value 2\", \"value 3\"]";
            }
            else
            {
                ExampleValue = "value";
            }

            ExampleValue = $"'{ExampleValue.Replace("'", "\\'")}'";
        }
 public UnusedExampleException(ExampleValue unusedValue) :
     base(string.Format("Example Column '{0}' is unused, all examples should be consumed by the test (have you misspelt a field or property?)", unusedValue.Header))
 { }
 public UnusedExampleException(ExampleValue unusedValue) :
     base(string.Format("Example Column '{0}' is unused, all examples should be consumed by the test (have you misspelt a field or property?)\r\n\r\n"
                        + "If this is not the case, raise an issue at https://github.com/TestStack/TestStack.BDDfy/issues.", unusedValue.Header))
 {
 }
 public UnusedExampleException(ExampleValue unusedValue) :
     base(string.Format("Example Column '{0}' is unused, all examples should be consumed by the test (have you misspelt a field or property?)", unusedValue.Header))
 {
 }
 public UnusedExampleException(ExampleValue unusedValue) :
     base(string.Format("Example Column '{0}' is unused, all examples should be consumed by the test (have you misspelt a field or property?)\r\n\r\n"
     + "If this is not the case, raise an issue at https://github.com/TestStack/TestStack.BDDfy/issues.", unusedValue.Header))
 { }