api/src/test/java/edu/utexas/tacc/tapis/files/api/resources/ITestTransfersRoutes.java
private TransferTask createTransferTask() {
        TransferTaskRequest request = new TransferTaskRequest();
        request.setTag("testTag");
        TransferTaskRequestElement element1 = new TransferTaskRequestElement();
        element1.setSourceURI("tapis://test.edu/sourceSystem/sourcePath");
        element1.setDestinationURI("tapis://tests.edu/destSystem/destinationPath");
        List<TransferTaskRequestElement> elements = new ArrayList<>();
        elements.add(element1);
        request.setElements(elements);


        TransferTaskResponse createTaskResponse = target("/v3/files/transfers")
            .request()
            .accept(MediaType.APPLICATION_JSON)
            .header("content-type", MediaType.APPLICATION_JSON)
            .header("X-Tapis-Token", getJwtForUser("dev", "testuser1"))
            .post(Entity.json(request), TransferTaskResponse.class);
        return createTaskResponse.getResult();
    }
/**
     * Helper method to create transfer tasks
     *
     * @return
     */
Helper method to create transfer tasks
@return
Helper method to create transfer tasks @return
private TransferTask createTransferTask() {
        TransferTaskRequest request = new TransferTaskRequest();
        request.setTag("testTag");
        TransferTaskRequestElement element1 = new TransferTaskRequestElement();
        element1.setSourceURI("tapis://test.edu/sourceSystem/sourcePath");
        element1.setDestinationURI("tapis://tests.edu/destSystem/destinationPath");
        List<TransferTaskRequestElement> elements = new ArrayList<>();
        elements.add(element1);
        request.setElements(elements);
        TransferTaskResponse createTaskResponse = target("/v3/files/transfers")
            .request()
            .accept(MediaType.APPLICATION_JSON)
            .header("content-type", MediaType.APPLICATION_JSON)
            .header("X-Tapis-Token", getJwtForUser("dev", "testuser1"))
            .post(Entity.json(request), TransferTaskResponse.class);
        return createTaskResponse.getResult();
    }
private TransferTask createTransferTask ( ) { TransferTaskRequest request = new TransferTaskRequest ( ) ; request . setTag ( "testTag" ) ; TransferTaskRequestElement element1 = new TransferTaskRequestElement ( ) ; element1 . setSourceURI ( "tapis://test.edu/sourceSystem/sourcePath" ) ; element1 . setDestinationURI ( "tapis://tests.edu/destSystem/destinationPath" ) ; List < TransferTaskRequestElement > elements = new ArrayList < > ( ) ; elements . add ( element1 ) ; request . setElements ( elements ) ; TransferTaskResponse createTaskResponse = target ( "/v3/files/transfers" ) . request ( ) . accept ( MediaType . APPLICATION_JSON ) . header ( "content-type" , MediaType . APPLICATION_JSON ) . header ( "X-Tapis-Token" , getJwtForUser ( "dev" , "testuser1" ) ) . post ( Entity . json ( request ) , TransferTaskResponse . class ) ; return createTaskResponse . getResult ( ) ; }
Helper method to create transfer tasks
 @return
Helper method to create transfer tasks @return