@Test
 public void testValidate_noContext() {
   BeanPropertyBindingResult errors =
       new BeanPropertyBindingResult(httpConnector, "httpConnector");
   httpConnector.validate(httpConnector, errors);
   assertEquals(1, errors.getFieldErrorCount());
   assertEquals("service.connector.port.required", errors.getFieldError("port").getCode());
 }
 @Test
 public void testSupports() {
   assertTrue(httpConnector.supports(httpConnector.getClass()));
 }