@Test
void test_no_command_line_args() {

    NvaDaemon nvaDaemon = new NvaDaemon();
    DaemonContext daemonContext = new DaemonContext() {
        @Override
        public DaemonController getController() {
            return null;
        }
        @Override
        public String[] getArguments() {
            return new String[0];
        }
    };
    try {
        nvaDaemon.init(daemonContext);
    } catch (DaemonInitException e) {
        // The DaemonInitException is coded incorrectly, so we have to check for our
        // error message.
        Assertions.assertTrue(e.getMessageWithCause().contains(
            "Error parsing command line arguments"));
    }
}