IMO it's better to name such parameters something like boolean dontWaitUserInput and add a comment that it's supposed to be used for tests.