Neo4j v4 use of Embedded Database in unit testing

Hi all,

I'm building a api in my springboot application which will communicate with my graph database.

I have used neo4j version 3.5.16 but now I do want to upgrade to 4.0.3

The issue is that most of classes from the previous version disappeared. The tests I've built are based on ogm embedded driver.

I've to used the latest ogm version coming with spring boot 2.2.6 but I have got an error execute method doesn't exist in GraphDatabaseService

Did anyone used embedded database in unit testing using neo4j v4.0.3 ? If yes please provide spring configuration class and unit test class.

Best Regards,