boolean isWriteEnclosureForFieldName( ValueMetaInterface v, String fieldName ) {
    return ( isWriteEnclosed( v ) )
            || isEnclosureFixDisabledAndContainsSeparatorOrEnclosure( fieldName.getBytes() );
  }
@Test
  public void testWriteEnclosureForFieldName() {
    TextFileOutputData data = new TextFileOutputData();
    data.binarySeparator = new byte[1];
    data.binaryEnclosure = new byte[1];
    data.writer = new ByteArrayOutputStream();
    TextFileOutputMeta meta = getTextFileOutputMeta();
    stepMockHelper.stepMeta.setStepMetaInterface( meta );
    TextFileOutput textFileOutput = getTextFileOutput(data, meta);
    ValueMetaBase valueMetaInterface = getValueMetaInterface();
    assertFalse(textFileOutput.isWriteEnclosureForFieldName(valueMetaInterface, "fieldName"));
  }