Production { public Object[] getJobIds() { return workflow.getJobIds(); } Production(String id,
                      String name,
                      String outputPath,
                      String stagingPath,
                      boolean autoStaging,
                      ProductionRequest productionRequest,
                      WorkflowItem workflow);  Production(String id,
                      String name,
                      String outputPath,
                      String[] intermediateDataPath,
                      String stagingPath,
                      boolean autoStaging,
                      ProductionRequest productionRequest,
                      WorkflowItem workflow); static String createId(String productionType); String getId(); String getName(); WorkflowItem getWorkflow(); Object[] getJobIds(); boolean isAutoStaging(); ProductionRequest getProductionRequest(); String getOutputPath(); String[] getIntermediateDataPath(); String getStagingPath(); ProcessStatus getProcessingStatus(); void setProcessingStatus(ProcessStatus processingStatus); ProcessStatus getStagingStatus(); void setStagingStatus(ProcessStatus stagingStatus); @Override String toString(); static final SimpleDateFormat yyyyMMddHHmmss; }
@Test public void testGetJobIds() throws Exception { Production production = new Production("9A3F", "Toasting", null, null, false, new ProductionRequest("test", "ewa"), new MyWorkflowItem(new JobID("34627985F47", 4))); assertArrayEquals(new Object[]{new JobID("34627985F47", 4)}, production.getJobIds()); }