public void TestDelimitField() { //-------------Setup Test Pack ------------------ const string leftDelimiter = "LEFT_DELIMIT"; const string rightDelimiter = "RIGHT_DELIMIT"; SqlFormatter sqlFormatter = new SqlFormatter(leftDelimiter, rightDelimiter, "", ""); const string fieldName = "MY_FIELD"; //-------------Execute test --------------------- string delimitedField = sqlFormatter.DelimitField(fieldName); //-------------Test Result ---------------------- Assert.AreEqual(String.Format("{0}{1}{2}", leftDelimiter, fieldName, rightDelimiter), delimitedField); }