0 Replies Latest reply on Oct 25, 2006 8:35 PM by thethirdeye

    Junit testing MBeans

      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