public void testToolBarContListener() {
ContainerListener l = ui.createToolBarContListener();
Border border = b.getBorder();
ContainerEvent e = new ContainerEvent(toolBar, ContainerEvent.COMPONENT_ADDED, b);
l.componentAdded(e);
assertNotSame(border, b.getBorder());
e = new ContainerEvent(toolBar, ContainerEvent.COMPONENT_REMOVED, b);
l.componentRemoved(e);
assertSame(border, b.getBorder());
}