@Test void testShouldProgramContinueBeforeLoad() { Assertions.assertThrows(IllegalStateException.class, () -> this.cmaService.shouldProgramContinue()); }
public boolean shouldProgramContinue() { if (this.flags == null) throw new IllegalStateException("Not loaded."); if (!this.flagsValid) return false; for (Flag f : this.flags.keySet()) { if (f.isStopExecution()) return false; } return true; }
CommandLineArgumentHandlerService { public boolean shouldProgramContinue() { if (this.flags == null) throw new IllegalStateException("Not loaded."); if (!this.flagsValid) return false; for (Flag f : this.flags.keySet()) { if (f.isStopExecution()) return false; } return true; } }
CommandLineArgumentHandlerService { public boolean shouldProgramContinue() { if (this.flags == null) throw new IllegalStateException("Not loaded."); if (!this.flagsValid) return false; for (Flag f : this.flags.keySet()) { if (f.isStopExecution()) return false; } return true; }  }
CommandLineArgumentHandlerService { public boolean shouldProgramContinue() { if (this.flags == null) throw new IllegalStateException("Not loaded."); if (!this.flagsValid) return false; for (Flag f : this.flags.keySet()) { if (f.isStopExecution()) return false; } return true; }  void load(String[] args, Consumer<String> output); boolean areFlagsValid(); boolean shouldProgramContinue(); CommandLineArgumentInfo getInfo(); }
CommandLineArgumentHandlerService { public boolean shouldProgramContinue() { if (this.flags == null) throw new IllegalStateException("Not loaded."); if (!this.flagsValid) return false; for (Flag f : this.flags.keySet()) { if (f.isStopExecution()) return false; } return true; }  void load(String[] args, Consumer<String> output); boolean areFlagsValid(); boolean shouldProgramContinue(); CommandLineArgumentInfo getInfo();  }