descriptor.setValue( "protocol", "http" );
descriptor.setValue( "host", "www.hibernate.org" );
descriptor.setValue( "port", 80 );
URL url = AnnotationFactory.create( descriptor );
URLValidator validator = new URLValidator();
validator.initialize( url );
urlValidator.initialize( url );
assertProtocolHostAnsPortMatch( urlValidator );
regexpURLValidator.initialize( url );