public void testDefaultCommandContext() { TestCommand testCommand = new TestCommand(); assertEquals(0, testCommand.count); CommandContext commandContext = DefaultCommandContext.instance(); commandContext.execute(testCommand); assertEquals(1, testCommand.count); }