### Question:
CommandBuilder { public static List<CommandDefinition> fromClass(Object handler, Class<?> parentClass){ return scan(handler, new MethodProperties() .addModifier(Modifier.PUBLIC) .addParent(parentClass) .addBlacklistClass(Object.class)); }  static List<CommandDefinition> allPublic(Object handler); static List<CommandDefinition> allGetter(Object handler); static List<CommandDefinition> allSetter(Object handler); static List<CommandDefinition> fromClass(Object handler, Class<?> parentClass); static List<CommandDefinition> complete(Object handler); static List<CommandDefinition> scan(Object handler, MethodProperties properties);  }### Answer:
@Test public void fromClass(){ check(new String[]{"public1"}, CommandBuilder.fromClass(new TestClass(), TestInterface.class)); }