RespectBindingConfigurator rbc = new RespectBindingConfigurator();
//Mock Object Server Framework.
ServerFramework sf = new ServerFramework();
Annotation a = wsFeature;
sf.addConfigurator(RespectBindingFeature.ID, rbc);
sf.addAnnotation(a);
//lets hang the RespectBinding annotation to the EndpointDefinition
addAnnotation(ed, sf);
rbc.configure(ed);
Set<WSDLValidatorElement> elements = ed.getRequiredBindings();
assertNotNull("Set of WSDLValidatorElement was null", elements);