@Test
    public void annotations() {
        for (final Method method : Command.class.getDeclaredMethods()) {
            final SubCommand sub = method.getAnnotation(SubCommand.class);
            if (sub == null) {
                continue;
            }
            final String n = method.getName() + ": ";
            Assert.assertTrue(n + "NULL ARGS", sub.arg() != null);
            Assert.assertTrue(n + "STATIC", !Modifier.isStatic(method.getModifiers()));
            final Class<?>[] params = method.getParameterTypes();
            Assert.assertTrue(n + "DOES NOT TAKE SENDER,ARGS", (params.length == 2) && params[0].equals(CommandSender.class) && params[1].equals(Args.class));
        }
    }