2 Replies Latest reply on Sep 16, 2014 9:38 AM by Mark Lybarger

    Unit testing CDI beans

    Mark Lybarger Apprentice

      I have a sy application which uses several CDI beans.  I want to write some unit tests for the cdi beans and thought i could use the sy runner with the CDIMixin. Then in my test class I would use something like:




      public class MyTest {



           MyCDIBean myCDIBean;



           public void testMyCDIBean() {






      But this fails.  is there an example of using the SwitchyardRunner for testing a cdi bean?  my container is FSW 6.0.0 GA.