public static CommandContext newInstance(String commandName) {
        return new CommandContext(commandName);
    }
@Test
    void testNewInstance() {
        CommandContext context = CommandContextFactory.newInstance("test");
        assertThat(context.getCommandName(), equalTo("test"));
        context = CommandContextFactory.newInstance("command", new String[] {"hello"}, true);
        assertThat(context.getCommandName(), equalTo("command"));
        assertThat(context.getArgs(), Matchers.arrayContaining("hello"));
        assertTrue(context.isHttp());
    }