public void testRegisterWithDecorator() throws Exception
{
TestService testService = new TestService();
ObjectName name = new ObjectName("domain:type=service");
final BroadcastSupportMBeanDecorator mbean = new BroadcastSupportMBeanDecorator(testService);
mbeanServer_.registerMBean(mbean, name);
MockControl controlNotificationListener = MockControl.createControl(NotificationListener.class);
NotificationListener mockNotificationListener = (NotificationListener) controlNotificationListener.getMock();