// Path: upload-parser-tests/src/test/java/com/github/elopteryx/upload/internal/integration/ClientRequest.java
// static final String BOUNDARY = "--TNoK9riv6EjfMhxBzj22SKGnOaIhZlxhar";


import static com.github.elopteryx.upload.internal.integration.ClientRequest.BOUNDARY;
import static java.nio.charset.StandardCharsets.UTF_8;
import java.io.IOException;
import java.net.URISyntaxException;
import java.nio.ByteBuffer;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Random;
package com.github.elopteryx.upload.internal.integration;



/**
 * Utility class which is responsible for the request body creation.
 */
final class RequestSupplier {

    static final byte[] EMPTY_FILE;
    static final byte[] SMALL_FILE;
    static final byte[] LARGE_FILE;

    static final String TEXT_VALUE_1 = "íéáűúőóüö";
    static final String TEXT_VALUE_2 = "abcdef";

    static {
        EMPTY_FILE = new byte[0];
        SMALL_FILE = "0123456789".getBytes(UTF_8);
        final var random = new Random();
        final var builder = new StringBuilder();
        for (var i = 0; i < 100_000; i++) {
            builder.append(random.nextInt(100));
        }
        LARGE_FILE = builder.toString().getBytes(UTF_8);
    }

    static ByteBuffer withSeveralFields() {
// Path: upload-parser-tests/src/test/java/com/github/elopteryx/upload/internal/integration/ClientRequest.java
// static final String BOUNDARY = "--TNoK9riv6EjfMhxBzj22SKGnOaIhZlxhar";


// Path: upload-parser-tests/src/test/java/com/github/elopteryx/upload/internal/integration/RequestSupplier.java
import static com.github.elopteryx.upload.internal.integration.ClientRequest.BOUNDARY;
import static java.nio.charset.StandardCharsets.UTF_8;
import java.io.IOException;
import java.net.URISyntaxException;
import java.nio.ByteBuffer;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Random;

package com.github.elopteryx.upload.internal.integration;



/**
 * Utility class which is responsible for the request body creation.
 */
final class RequestSupplier {

    static final byte[] EMPTY_FILE;
    static final byte[] SMALL_FILE;
    static final byte[] LARGE_FILE;

    static final String TEXT_VALUE_1 = "íéáűúőóüö";
    static final String TEXT_VALUE_2 = "abcdef";

    static {
        EMPTY_FILE = new byte[0];
        SMALL_FILE = "0123456789".getBytes(UTF_8);
        final var random = new Random();
        final var builder = new StringBuilder();
        for (var i = 0; i < 100_000; i++) {
            builder.append(random.nextInt(100));
        }
        LARGE_FILE = builder.toString().getBytes(UTF_8);
    }

    static ByteBuffer withSeveralFields() {
        return RequestBuilder.newBuilder(BOUNDARY)