InputStream inpStream = new FileInputStream(inputFile);
service.uploadFile(180, remoteFileName, inpStream);
inpStream.close();
// list now
List<String> fileNameList = service.listFiles();
for (String fileName : fileNameList) {
testLogger.info(fileName);
}
Assert.assertEquals("list is empty", 1, fileNameList.size());
Assert.assertEquals("filename is not equal", remoteFileName, fileNameList.get(0));