AgentUtil { public static boolean validateTestPlans(String plans) { String[] testPlanLists = plans.split(","); boolean output = true; for (String testPlanList : testPlanLists) { File xmlFile = new File(testPlanList); if (!xmlFile.exists()) { LOG.error(LogUtil.getLogMessage("File not found: " + testPlanList)); System.err.println("File not found: " + testPlanList); output = false; } } return output; }  static boolean validateTestPlans(String plans);  }
@Test @Tag(TestGroups.FUNCTIONAL) public void validateTestPlans() { boolean result = AgentUtil.validateTestPlans(""); assertNotNull(result, "result cannot be null"); }