boolean isWriteEnclosureForValueMetaInterface( ValueMetaInterface v ) {
    return ( isWriteEnclosed( v ) )
            || isEnclosureFixDisabledAndContainsSeparatorOrEnclosure( v.getName().getBytes() );
  }
@Test
  public void testWriteEnclosedForValueMetaInterfaceWithEnclosureForcedAndEnclosureFixDisabled() {
    TextFileOutputData data = new TextFileOutputData();
    data.binaryEnclosure = new byte[]{101};
    data.binarySeparator = new byte[]{101};
    data.writer = new ByteArrayOutputStream();
    TextFileOutputMeta meta = getTextFileOutputMeta();
    meta.setEnclosureForced(false);
    meta.setEnclosureFixDisabled(false);
    TextFileOutput textFileOutput = getTextFileOutput(data, meta);
    ValueMetaBase valueMetaInterface = getValueMetaInterface();
    assertTrue(textFileOutput.isWriteEnclosureForValueMetaInterface(valueMetaInterface));
  }