I was writing a slice integration test that need the EventPublicationRepository bean to verify the incomplete and completed event publications.
I see the JdbcEventPublicationAutoConfiguration will config the EventPublicationRepository.
however, I can not use @ImportAutoConfiguration(classes = {JdbcEventPublicationAutoConfiguration.class}) because it not public.
I think at least for slice test, it is useful to make it public, or how we can elegantly achieve this?
I was writing a slice integration test that need the
EventPublicationRepositorybean to verify the incomplete and completed event publications.I see the
JdbcEventPublicationAutoConfigurationwill config theEventPublicationRepository.however, I can not use
@ImportAutoConfiguration(classes = {JdbcEventPublicationAutoConfiguration.class}) because it not public.I think at least for slice test, it is useful to make it public, or how we can elegantly achieve this?