### Question:
RwMain { public Pipeline getPipelineByNo(String no, int state) { Pipeline pipeline = new Pipeline(); for (Pipeline p : SysConfig.PipelineList) { if (p.getNo().equals(no)) { pipeline = p; if (state != 0) { p.setState(state); } break; } } return pipeline; } private  RwMain(); static RwMain Instance(); void schemaUpload(HttpServletRequest request, HttpServletResponse response); void processLayout(Pipeline pipeline, String state, boolean flag, boolean ordered); void loadDataByPipeline(Pipeline pipeline); String getDataUrl(); String getPipelineData(); void savePipelineState(Pipeline pipeline, String state); void delete(String no); void stop(String no); Process searchProcessByPno(String pno); Pipeline getPipelineByNo(String no, int state); void beginSampling(Pipeline pipeline); void startSampling(String arg); void getSampling(Pipeline pipeline, boolean sample); void queryUpload(String arg, String pno); String clientUpload(String arg, String pno, String id, String weight); void workloadUpload(HttpServletRequest request, HttpServletResponse response); void getEstimation(Pipeline pipeline, boolean ordered); void getEstimation(String arg, String pno, String id, String weight, boolean ordered); void optimization(String arg); void beginOptimizing(Pipeline pipeline); void accept(String arg); void getOptimization(Pipeline pipeline); String getOrdered(String arg); String getEstimate_Sta(String arg); String getLayout(String arg); String getCurrentLayout(String arg); String getOrderedLayout(String arg); void startEvaluation(String arg); void getEvaluation(Pipeline pipeline); String getStatistic(String arg); String getQueryByRowID(int rowID, String pno); String getProcessState(String arg); String getPipelineDetail(String pno, String time, String desc);  }### Answer:
@Test public void getPipelineByNo() { rwMain.getPipelineByNo("116578a4e56f61cb50c937b2150790b5", 1); }