public class MockGetCurrentTransferCliAction extends
GetCurrentTransferCliAction {
public XmlRpcFileManagerClient getClient() throws MalformedURLException,
ConnectionException {
return new XmlRpcFileManagerClient(new URL("http://localhost:9000"),
false) {
public FileTransferStatus getCurrentFileTransfer() {
status = new FileTransferStatus();
status.setFileRef(new Reference(ORIG_REF, DS_REF, FILE_SIZE));
status.setBytesTransferred(BYTE_TRANS);