I have a spring boot application, which is connecting to two different data sources. (All the connection, URL, other DB properties are different and configure in application.properties file)
I am not able to test this application because mockito or any other testing framework wouldn't be able to distinguish between two different data sources.
Please suggest how to test this application.