@Test
public void testUsernameOnlySecureFtpFilePath() {
try {
SftpProtocolHandler sftp = new SftpProtocolHandler();
sftp.setUserInfo(new TestUserInfo());
File downloadedNamespace = sftp.downloadResource(
"sftp://sftptest@localhost:" + port
+ localTestFile.getAbsolutePath(), "test.belns");
tempFiles.add(downloadedNamespace);
testFile(downloadedNamespace);
} catch (Exception e) {