Пример #1
0
        public void Ctor_CommandAndArgument_SetsProperty() {
            FtpRequest req = new FtpRequest("CMD", "ARG");

            Assert.Equal("CMD", req.Command);
            Assert.Equal("ARG", req.Arguments);
        }
Пример #2
0
 public void Ctor_CommandOnly_SetsProperty() {
     FtpRequest req = new FtpRequest("NOOP", null);
     Assert.Equal("NOOP", req.Command);   
 }