assertEquals(Node.class.getName(), binding1.getName());
assertNotNull(binding1.introspect(Element.class));
assertNull(binding1.introspect(String.class));
assertNull(binding1.getWrapperHandler());
DataBindingRegistry registry = EasyMock.createMock(DataBindingRegistry.class);
registry.register(binding1);
EasyMock.expect(registry.getDataBinding(Node.class.getName())).andReturn(binding1);
EasyMock.replay(registry);
binding1.setDataBindingRegistry(registry);
binding1.init();
assertNotNull(registry.getDataBinding(Node.class.getName()));
DataBinding1 binding2 = new DataBinding1("dom", Node.class);
assertEquals("dom", binding2.getName());
}