public FileBasedProtocolConnectorControllerTest(bool targetSftpServer, bool wrongusername = false) { controller = new T(); FtpUtil ftpUtil = new FtpUtil(targetSftpServer); controller.ServerAddress = ftpUtil.FtpServerAddress; controller.UserName = ftpUtil.FtpUserName; controller.Password = ftpUtil.FtpPassword; if (wrongusername) { controller.UserName = "******"; } }
public FTPTestHelper(bool targetSftpServer = false, bool isMultiFactAuthServer = false) { this.ftpUtil = new FtpUtil(targetSftpServer, isMultiFactAuthServer); }