@Test public void testGetMessage() { assertEquals("Invalid Host Name : \"Name\"", hnrOne.getMessage()); }
@Override public String getMessage() { return "Invalid Host Name : \"" + name + "\""; }
HostNameRule extends ValidNameRule { @Override public String getMessage() { return "Invalid Host Name : \"" + name + "\""; } }
HostNameRule extends ValidNameRule { @Override public String getMessage() { return "Invalid Host Name : \"" + name + "\""; } HostNameRule(final String theName); }
HostNameRule extends ValidNameRule { @Override public String getMessage() { return "Invalid Host Name : \"" + name + "\""; } HostNameRule(final String theName); @Override MessageResponseStatus getMessageResponseStatus(); @Override String getMessage(); @Override boolean isValid(); }
HostNameRule extends ValidNameRule { @Override public String getMessage() { return "Invalid Host Name : \"" + name + "\""; } HostNameRule(final String theName); @Override MessageResponseStatus getMessageResponseStatus(); @Override String getMessage(); @Override boolean isValid();  }