### Question:
CommandLineArgumentHandlerService { public CommandLineArgumentInfo getInfo() { if (this.flags == null) throw new IllegalStateException("Not loaded."); return new CommandLineArgumentInfoImpl(this.flags.get(Flag.CONFIG)); }  void load(String[] args, Consumer<String> output); boolean areFlagsValid(); boolean shouldProgramContinue(); CommandLineArgumentInfo getInfo();  }### Answer:
@Test void testGetInfoBeforeLoad() { Assertions.assertThrows(IllegalStateException.class, () -> this.cmaService.getInfo()); }