use of org.activiti.management.jmx.testMbeans.BadInherited in project Activiti by Activiti.
the class MBeanInfoAssemblerTest method testInherited.
@Test
public void testInherited() throws JMException {
ModelMBeanInfo beanInfo = mbeanInfoAssembler.getMBeanInfo(new BadInherited(), null, "someName");
assertNotNull(beanInfo);
assertNotNull(beanInfo.getAttributes());
assertEquals(2, beanInfo.getAttributes().length);
assertNotNull(beanInfo.getOperations());
assertEquals(3, beanInfo.getOperations().length);
}
Aggregations