test_class.declarator: formatter = new TfVarsOptionFormatter()
test_class.original_string: TfOptionFormatter formatter = new TfVarsOptionFormatter();
test_class.type: TfOptionFormatter
test_class.var_name: formatter
test_class.file: tf-build-tools/tf-cmd-api/src/test/java/com/deliveredtechnologies/terraform/api/converters/TfVarsOptionFormatterTest.java
test_class.identifier: TfVarsOptionFormatterTest
test_case.body: @Test
    public void convertTfVarCsvOneVar() throws TerraformException {
      String format = "-var";
      String value = "key1=value1";
  
      Assert.assertEquals(formatter.convert(format, value), "-var \"key1=value1\" ");
    }
test_case.class_method_signature: TfVarsOptionFormatterTest.convertTfVarCsvOneVar()
test_case.full_signature: @Test public void convertTfVarCsvOneVar()
test_case.identifier: convertTfVarCsvOneVar
test_case.invocations: assertEquals convert
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void convertTfVarCsvOneVar()
focal_class.file: tf-build-tools/tf-cmd-api/src/main/java/com/deliveredtechnologies/terraform/api/converters/TfVarsOptionFormatter.java
focal_class.identifier: TfVarsOptionFormatter
focal_class.interfaces: implements TfOptionFormatter
focal_class.class_method_signature: TfVarsOptionFormatter.convert(String format, Object value)
focal_class.full_signature: public String convert(String format, Object value)
focal_class.identifier: convert
focal_class.modifiers: public
focal_class.parameters: (String format, Object value)
focal_class.return: String
focal_class.signature: String convert(String format, Object value)
focal_method.body: public String convert(String format, Object value) throws TerraformException {
      String str = "";
  
      if (value instanceof Map) {
        str = convertMapToCommandLineOptions(format, (Map<String, Object>) value);
      }
  
      if (value instanceof String) {
        str = csvConverter("-var \"%s\" ", (String) value);
      }
      return str;
    }
focal_method.class_method_signature: TfVarsOptionFormatter.convert(String format, Object value)
focal_method.full_signature: public String convert(String format, Object value)
focal_method.identifier: convert
focal_method.invocations: convertMapToCommandLineOptions csvConverter
focal_method.modifiers: public
focal_method.parameters: (String format, Object value)
focal_method.return: String
focal_method.signature: String convert(String format, Object value)