To be able to do testing without using the actual server, the storagemanagers have to get their HttpUrlConnection from an object, instead of always using the same. This permits us to use mockito to mock an httpurlconnection, thus returning what we want.
To be able to do testing without using the actual server, the storagemanagers have to get their HttpUrlConnection from an object, instead of always using the same. This permits us to use mockito to mock an httpurlconnection, thus returning what we want.