Unit testing EJBs with PowerMockito
I had to find a way to test a method from a stateful session bean (EJB PersonSABean implements PersonSF) defined in a service layer that calls another method from another stateful session bean (EJB HouseSFBean implements HouseSF) defined in a business layer. To call that method from EJB HouseSFBean, the EJB PersonSABean needs to perform a … Read more