cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

neo4jClient query method unit test using Mockito.

I'm using spring data neo4j. And using neo4jClient for returning the custom map.

I'm facing the issue mocking the neo4jclient.query().bind().to.fetch.one using Mockito while unit Testing our methods.

I'm using below method.

neo4jClient.query(() -> QUERY).
bind(id).to("id").fetch().one();

 

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online