/** * Converts an output path to {@link DataModelSinkFactory} to write to the path. * @param path the output path * @return the target sink factory * @since 0.6.0 */ protected final DataModelSinkFactory toDataModelSinkFactory(File path) { return getTestTools().getDataModelSinkFactory(path.toURI()); }
/** * Converts an output path to {@link DataModelSinkFactory} to write to the path. * @param path the output path * @return the target sink factory * @since 0.6.0 */ protected final DataModelSinkFactory toDataModelSinkFactory(String path) { return getTestTools().getDataModelSinkFactory(toOutputUri(path)); }