#pragma warning disable IDE0051 // Remove unused private members
        private static UploadTestFileV1Request GetFileFromFileSystem()
#pragma warning restore IDE0051 // Remove unused private members
        {
            var stream = new FileStream(PathToFile, FileMode.Open, FileAccess.Read, FileShare.Read, BufferSize, useAsync: true);

            string fileName = Path.GetFileName(PathToFile);

            var request = new UploadTestFileV1Request
            {
                File     = stream,
                FileName = fileName,
                Size     = stream.Length,
            };

            return(request);
        }
        private static UploadTestFileV1Request GetInMemoryFileRequest()
        {
            var stream = new MemoryStream();

            using (var writer = new StreamWriter(stream, Encoding.UTF8, BufferSize, leaveOpen: true))
            {
                writer.WriteLine("example");
            }

            stream.Position = 0L;

            string fileName = "example.txt";

            var request = new UploadTestFileV1Request
            {
                File     = stream,
                FileName = fileName,
                Size     = stream.Length,
            };

            return(request);
        }