QueryPrefix extends ConsoleSetting<Boolean> { public QueryPrefix() { super(true); } QueryPrefix();  QueryPrefix(Boolean initValue); @Override String getHelpLong(); @Override String getName(); @Override void setFromString(String value); final static String NAME; }
@Test public void testQueryPrefix() { setParameters.execute("set", "queryPrefix=false"); setParameters.execute("set", "queryPrefix"); verify(mockConsoleIO).writeln("queryPrefix: false"); verifyNoMoreInteractions(mockConsoleIO); }