Search in sources :

Example 1 with ParameterMap

use of org.neo4j.shell.ParameterMap in project neo4j by neo4j.

the class ParamsTest method setup.

@Before
public void setup() throws CommandException {
    vars = new HashMap<>();
    logger = mock(Logger.class);
    ParameterMap shell = mock(ParameterMap.class);
    when(shell.getAllAsUserInput()).thenReturn(vars);
    cmd = new Params(logger, shell);
}
Also used : ParameterMap(org.neo4j.shell.ParameterMap) Logger(org.neo4j.shell.log.Logger) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 ParameterMap (org.neo4j.shell.ParameterMap)1 Logger (org.neo4j.shell.log.Logger)1