I created one class to make http callout to ftp server.I am using Http mock for test class.Sometimes ftp folders are created with space and it is required to encode the file and folder name in ftp url. 1. In first screenshot, i m using http request without encode 2.In 2nd screenshot I have encoded file name and folder name
I ran same test class for both, in first scenario http send method is executed.In second scenario http send method is not executing.
Can someone provide correction and explanation for it ?