How to test JDBI DAO's with H2-in-memory database?

Viewed 7680

I'm using Dropwizard framework with JDBI and h2-in-memory for my test purposes. Also I've written my DAOs, and now I want to test them with unit tests. I came along the DBUnit which seem to fit my requirements.

But how to integrate it with JDBI and fill it with test data?

1 Answers
Related