System.Net.Tests.FtpWebRequestTest.DoCommand C# (CSharp) Method

DoCommand() private static method

private static DoCommand ( FtpExecutionMode mode, string method, string uri, string renameTo = null ) : void
mode FtpExecutionMode
method string
uri string
renameTo string
return void
        private static void DoCommand(FtpExecutionMode mode, string method, string uri, string renameTo = null)
        {
            byte[] responseBody = Do(mode, method, uri, null, renameTo);

            // Should be no response
            Assert.Equal(responseBody.Length, 0);
        }