@Test public void testGetMessage() { final String message = rule.getMessage(); assertEquals("Invalid Group Name: \"\"", message); }
@Override protected String getMessage() { return "Invalid Group Name: \"" + name + "\""; }
GroupNameRule extends ValidNameRule { @Override protected String getMessage() { return "Invalid Group Name: \"" + name + "\""; } }
GroupNameRule extends ValidNameRule { @Override protected String getMessage() { return "Invalid Group Name: \"" + name + "\""; } GroupNameRule(final String theName); }
GroupNameRule extends ValidNameRule { @Override protected String getMessage() { return "Invalid Group Name: \"" + name + "\""; } GroupNameRule(final String theName); @Override void validate(); }
GroupNameRule extends ValidNameRule { @Override protected String getMessage() { return "Invalid Group Name: \"" + name + "\""; } GroupNameRule(final String theName); @Override void validate();  }