I am new to JUnit and need to write JUnit test cases involving Spring and EJB in one functionality.
Please read below the exact scenario.
1. Fetching a list of employees using Spring jdbcTemplate.
2. Disable these employees using an EJB service.
Currently I am using org.springframework.test.AbstractDependencyInjectionSpringContextTests for creating unit test for employee fetching using Spring.
After this I need to call the EJB service for this employee list to disable them.
Please help me whether I can integrate these Sring and EJB in same JUnit test case or I need to write separate test cases ?