@Test public void checkMethodName() throws Exception { try { AbstractConfig.checkMethodName("hello", "abcdABCD0123abcd"); } catch (Exception e) { TestCase.fail("the value should be legal."); } try { AbstractConfig.checkMethodName("hello", "0a"); TestCase.fail("the value should be illegal."); } catch (Exception e) { } }
protected static void checkMethodName(String property, String value) { checkProperty(property, value, MAX_LENGTH, PATTERN_METHOD_NAME); }
AbstractConfig implements Serializable { protected static void checkMethodName(String property, String value) { checkProperty(property, value, MAX_LENGTH, PATTERN_METHOD_NAME); } }
AbstractConfig implements Serializable { protected static void checkMethodName(String property, String value) { checkProperty(property, value, MAX_LENGTH, PATTERN_METHOD_NAME); }  }
AbstractConfig implements Serializable { protected static void checkMethodName(String property, String value) { checkProperty(property, value, MAX_LENGTH, PATTERN_METHOD_NAME); }  @Parameter(excluded = true) String getId(); void setId(String id); @Override String toString(); }
AbstractConfig implements Serializable { protected static void checkMethodName(String property, String value) { checkProperty(property, value, MAX_LENGTH, PATTERN_METHOD_NAME); }  @Parameter(excluded = true) String getId(); void setId(String id); @Override String toString();  }