Search in sources :

Example 1 with FakeSession

use of org.neo4j.shell.test.bolt.FakeSession in project neo4j by neo4j.

the class BoltStateHandlerTest method setup.

@Before
public void setup() {
    when(mockDriver.session(any())).thenReturn(new FakeSession());
    doReturn(System.out).when(logger).getOutputStream();
}
Also used : FakeSession(org.neo4j.shell.test.bolt.FakeSession) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 FakeSession (org.neo4j.shell.test.bolt.FakeSession)1