I'm making my first EAP project and I need some help. I want to test my business layer using JUnit but I haven't been able to. While looking on the internet, I found that since EJB 3.1 it's possible to use an embedded container to test my EJB, I'm using Wildfly for AS but I can't get the test running, I think it is because I lack some configuration.
I saw this sample code on a website, could you tell me what should I put if I'm using Wildfly?
Properties properties =
Context context = EJBContainer.createEJBContainer().getContext();
Any help is kindly appreciated.