JobStatusHelper { public static boolean canBeRun(String status) { return (status.equals(JobQueueStatus.Created.toString()) || status.equals(JobQueueStatus.Queued.toString()) || status.equals(JobQueueStatus.Paused.toString()) || status.equals(JobQueueStatus.RampPaused.toString()) || status.equals(VMStatus.rampPaused.toString())); }  static boolean canBeRun(String status); static boolean canBePaused(String status); static boolean canRampBePaused(String status); static boolean canBeStopped(String status); static boolean canBeKilled(String status);  }
@Test public void testCanBeRun_1() throws Exception { String status = ""; boolean result = JobStatusHelper.canBeRun(status); assertTrue(!result); }