示例#1
0
        public MultiPartTest(string input, string delimiter)
        {
            _boundary   = new Boundary(delimiter);
            _controller = new TestInputController(delimiter);

            var inputData = Converter.GetInputBytes(input);

            _boundary.AcceptNext(inputData, 0, inputData.Length);
            _controller.AcceptData(inputData);
        }