I have to do some unit test where I have to inject generic bean using @Autowired for exemple I have this bean and I want the some with xml configuration How I can do that should I have to use property to do this
@Bean
public EnqueteurRepository<Enqueteur, Integer> cache() {
return new EnqueteurRepository<Enqueteur, Integer>();
}
in my xml :
<bean id="enqueteurRepository" class="com.glsid.gnqst.repositories.GnqstRepository">
<!-- What I should add here ? -->
</bean>
Thank You for any helpe