cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

neo4jClient query method unit test using Mockito.

Amit_Yadav
Node Link

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