public void testPropertiesReplaced() {
    IJmxTestBean bean = (IJmxTestBean) getContext().getBean("testBean");

    assertEquals("Name is incorrect", "Rob Harrop", bean.getName());
    assertEquals("Age is incorrect", 100, bean.getAge());
  }
 public void testSetAttribute() throws Exception {
   ObjectName objectName = ObjectNameManager.getInstance(getObjectName());
   getServer().setAttribute(objectName, new Attribute(NAME_ATTRIBUTE, "Rob Harrop"));
   IJmxTestBean bean = (IJmxTestBean) getContext().getBean("testBean");
   assertEquals("Rob Harrop", bean.getName());
 }