Asserts that the REPL completes a partial line into the expected candidates.
what to complete, with what, and what to expect
Asserts that the REPL completes a partial line into the expected candidates.