JMXNotifier extends AbstractActiveChangeListener implements JMXNotifierMBean, javax.management.NotificationEmitter { protected String getDescription(Object value) { String description=value.toString(); if (_descriptionScriptExpression != null) { description = (String)MVEL.executeExpression(_descriptionScriptExpression, value); } return (description); }  void setObjectName(String name); String getObjectName(); void setDescriptionScript(String script); String getDescriptionScript(); void setInsertType(String type); String getInsertType(); void setInsertTypeScript(String script); String getInsertTypeScript(); void setUpdateType(String type); String getUpdateType(); void setUpdateTypeScript(String script); String getUpdateTypeScript(); void setRemoveType(String type); String getRemoveType(); void setRemoveTypeScript(String script); String getRemoveTypeScript(); void inserted(Object key, Object value); void updated(Object key, Object value); void removed(Object key, Object value); void addNotificationListener(NotificationListener l,
            NotificationFilter filter, Object handback); MBeanNotificationInfo[] getNotificationInfo(); void removeNotificationListener(NotificationListener l); void removeNotificationListener(NotificationListener l,
            NotificationFilter filter, Object handback);  }
@Test public void testDescriptionStatic() { JMXNotifier notifier=new JMXNotifier(); try { notifier.init(); } catch (Exception e) { fail("Failed to init notifier: "+e); } TestObject to=new TestObject(); to.setName(TEST_OBJECT_DESCRIPTION); String result=notifier.getDescription(to); if (!result.equals(to.toString())) { fail("Incorrect description"); } }