Pass a mocked command source to the parser to respect annotations.