[jboss-user] [Management, JMX/JBoss] - Junit testing MBeans

TheThirdEye do-not-reply at jboss.com
Wed Oct 25 20:35:07 EDT 2006


Hi,

Just curious ... on how people Unit test MBeans. I have read on some mailing list about treating MBeans as regular Java Beans and unit testing them as you would any other java class. I find it really difficult to follow this approach as, much as I would like to, MBeans have StateString which I verify before I carry out any further action in the MBean.

My Question is: 

is there any way I can use my test class to set the state, without having to deploy it in the container. 

Regards,
RM
 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980877#3980877

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980877



More information about the jboss-user mailing list