{
mBeanServer.registerMBean(new HierarchyDynamicMBean(),
ObjectName.getInstance(Log4jAgent.JMX_OBJECT_NAME));
Log4jAgent agent = new Log4jAgent();
agent.initialise();
}
protected void doTearDown() throws Exception
{
// This MBean was registered manually so needs to be unregistered manually in tearDown()