I'm developing a Rest Api using spring boot. I know that I can make all the integration tests using a 'test database' like H2 and spring boot is able to initialize sql scripts.
However, my application is accessing the database through procedures using an old home made library and I cannot refactor to JPA (unfortunately).
I do not think I can setup the database and procedures into H2 (because I'm using a non-standard database).
My question is: how can I test my endpoints in those conditions?
Thanks