use of org.neo4j.driver.exceptions.ClientException in project neo4j by neo4j.
the class NonInteractiveShellRunnerTest method setup.
@Before
public void setup() throws CommandException {
statementParser = new ShellStatementParser();
badLineError = new ClientException("Found a bad line");
doThrow(badLineError).when(cmdExecuter).execute(contains("bad"));
doReturn(System.out).when(logger).getOutputStream();
}
Aggregations