I am new to spring framework , Just wanted to know if there is any plug in required for testing DAO component (uses both Spring & Hibernate ) in Junit Test class.
For example spring provides Struts ContextLoaderPlugIn from where it gets the application context.
Basically I have written a abstract class which extends org.springframework.test.AbstractSpringContextTest s class and then I am calling my Junit Test class by extending the base class.
In Junit test class construter , am trying to access the bean
dao= (DAO) applicationContext.getBean("dao");
Thanks in advance