@Test
public void testCreateBinding() {
NMRBindingInfo info = new NMRBindingInfo(new ServiceInfo(), "id");
Binding binding = new NMRBindingFactory().createBinding(info);
assertEquals(3, binding.getInInterceptors().size());
//assertEquals(?, binding.getInFaultInterceptors().size());
assertEquals(2, binding.getOutInterceptors().size());
assertEquals(2, binding.getOutFaultInterceptors().size());
assertEquals(NMROperationInInterceptor.class.getName(),
binding.getInInterceptors().get(1).getClass().getName());
assertEquals(NMRWrapperInInterceptor.class.getName(),
binding.getInInterceptors().get(2).getClass().getName());
assertEquals(StaxOutInterceptor.class.getName(),
binding.getOutInterceptors().get(0).getClass().getName());
assertEquals(NMRWrapperOutInterceptor.class.getName(),
binding.getOutInterceptors().get(1).getClass().getName());
assertEquals(StaxOutInterceptor.class.getName(),
binding.getOutFaultInterceptors().get(0).getClass().getName());
assertEquals(NMRFaultOutInterceptor.class.getName(),
binding.getOutFaultInterceptors().get(1).getClass().getName());
}