public class MockGetCurrentTransfersCliAction extends GetCurrentTransfersCliAction {
@Override
public XmlRpcFileManagerClient getClient() throws MalformedURLException,
ConnectionException {
return new XmlRpcFileManagerClient(new URL("http://localhost:9000"),
false) {
@Override
public List<FileTransferStatus> getCurrentFileTransfers() {
status = new FileTransferStatus();
status.setFileRef(new Reference(ORIG_REF, DS_REF, FILE_SIZE));