I have a class which uses used R2dbcEntityTemplate
as shown below
r2dbcTemplate
.getDatabaseClient()
.sql("<Custom-Query>")
.fetch()
.all();
I am connecting to a postgres database, properties of which i am supplying through application.properties.
How do i write JUNIT for this class ?