@Test
public void testExecute1() throws Exception {

    Assertions.assertThrows(NoSuchCommandException.class, () -> {
        DefaultCommandExecutor executor = new DefaultCommandExecutor();
        executor.execute(CommandContextFactory.newInstance("not-exit"));
    });
}