agave-systems/systems-core/src/test/java/org/iplantc/service/systems/dao/BatchQueueDaoIT.java
/**
     * Generates a test execution for with no
     * @return test exectuion system
     */
Generates a test execution for with no
@return test exectuion system
Generates a test execution for with no @return test exectuion system
private ExecutionSystem createExecutionSystem() {
        ExecutionSystem system = null;
        try {
            JSONObject systemJson = jtd.getTestDataObject(JSONTestDataUtil.TEST_PROXY_EXECUTION_SYSTEM_FILE)
                    .put("id", UUID.randomUUID().toString());
            system = ExecutionSystem.fromJSON(systemJson);
            system.getBatchQueues().clear();
            system.setOwner(SYSTEM_OWNER);
        }
        catch (Exception e) {
            Assert.fail("Test system should be created without exceptions", e);
        }
        return system;
    }
private ExecutionSystem createExecutionSystem ( ) { ExecutionSystem system = null ; try { JSONObject systemJson = jtd . getTestDataObject ( JSONTestDataUtil . TEST_PROXY_EXECUTION_SYSTEM_FILE ) . put ( "id" , UUID . randomUUID ( ) . toString ( ) ) ; system = ExecutionSystem . fromJSON ( systemJson ) ; system . getBatchQueues ( ) . clear ( ) ; system . setOwner ( SYSTEM_OWNER ) ; } catch ( Exception e ) { Assert . fail ( "Test system should be created without exceptions" , e ) ; } return system ; }
Generates a test execution for with no
 @return test exectuion system
Generates a test execution for with no @return test exectuion system