H2 in-memory db data initialization without Spring Boot and sql scripts

I want to load, accessible for all test classes, initial data to H2 in-memory database. I found Spring Boot – Loading Initial Data question, but I don’t want to load data from sql scripts and I don’t use Spring Boot in my project. Is this possible to do?